/* Custom Font Styling */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.brand-heading,
.navbar-brand,
.btn,
.modal-title,
.card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-heading {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: lowercase;
}

p, .intro-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.intro-text strong {
  font-weight: 600;
}

.lead {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.btn {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.form-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.dropdown-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.card-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

/* Arabic Font Support */
[dir="rtl"] body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, 'Traditional Arabic', Arial, sans-serif;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: 'Montserrat', 'Traditional Arabic', Arial, sans-serif;
}

/* Feature Cards Styling */
.feature-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--bs-primary);
}

.feature-icon i {
  display: inline-block;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 0;
}

/* Responsive feature cards */
@media (max-width: 767px) {
  .feature-card {
    padding: 1.25rem 1rem;
  }
  
  .feature-icon {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
  }
  
  .feature-title {
    font-size: 1.05rem;
  }
  
  .feature-text {
    font-size: 0.85rem;
  }
}

/* Button Hover - Background Effect Only */
.btn {
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle background shine effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn span,
.btn i {
  position: relative;
  z-index: 1;
}

:root, [data-bs-theme=light] {
  --bs-primary: #ba8500;
  --bs-primary-rgb: 186,133,0;
  --bs-primary-text-emphasis: #4A3500;
  --bs-primary-bg-subtle: #F1E7CC;
  --bs-primary-border-subtle: #E3CE99;
  --bs-success: #ba8500;
  --bs-success-rgb: 186,133,0;
  --bs-success-text-emphasis: #4A3500;
  --bs-success-bg-subtle: #F1E7CC;
  --bs-success-border-subtle: #E3CE99;
  --bs-warning: #ba8500;
  --bs-warning-rgb: 186,133,0;
  --bs-warning-text-emphasis: #4A3500;
  --bs-warning-bg-subtle: #F1E7CC;
  --bs-warning-border-subtle: #E3CE99;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ba8500;
  --bs-btn-border-color: #ba8500;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #C49726;
  --bs-btn-hover-border-color: #C19119;
  --bs-btn-focus-shadow-rgb: 28,20,0;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #C89D33;
  --bs-btn-active-border-color: #C19119;
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: #ba8500;
  --bs-btn-disabled-border-color: #ba8500;
}

.btn-outline-primary {
  --bs-btn-color: #ba8500;
  --bs-btn-border-color: #ba8500;
  --bs-btn-focus-shadow-rgb: 186,133,0;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: #ba8500;
  --bs-btn-hover-border-color: #ba8500;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #ba8500;
  --bs-btn-active-border-color: #ba8500;
  --bs-btn-disabled-color: #ba8500;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ba8500;
}

.btn-success {
  --bs-btn-color: #000000;
  --bs-btn-bg: #ba8500;
  --bs-btn-border-color: #ba8500;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: #C49726;
  --bs-btn-hover-border-color: #C19119;
  --bs-btn-focus-shadow-rgb: 28,20,0;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #C89D33;
  --bs-btn-active-border-color: #C19119;
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: #ba8500;
  --bs-btn-disabled-border-color: #ba8500;
}

.btn-outline-success {
  --bs-btn-color: #ba8500;
  --bs-btn-border-color: #ba8500;
  --bs-btn-focus-shadow-rgb: 186,133,0;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: #ba8500;
  --bs-btn-hover-border-color: #ba8500;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #ba8500;
  --bs-btn-active-border-color: #ba8500;
  --bs-btn-disabled-color: #ba8500;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ba8500;
}

.btn-warning {
  --bs-btn-color: #000000;
  --bs-btn-bg: #ba8500;
  --bs-btn-border-color: #ba8500;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: #C49726;
  --bs-btn-hover-border-color: #C19119;
  --bs-btn-focus-shadow-rgb: 28,20,0;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #C89D33;
  --bs-btn-active-border-color: #C19119;
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: #ba8500;
  --bs-btn-disabled-border-color: #ba8500;
}

.btn-outline-warning {
  --bs-btn-color: #ba8500;
  --bs-btn-border-color: #ba8500;
  --bs-btn-focus-shadow-rgb: 186,133,0;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: #ba8500;
  --bs-btn-hover-border-color: #ba8500;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: #ba8500;
  --bs-btn-active-border-color: #ba8500;
  --bs-btn-disabled-color: #ba8500;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ba8500;
}

/* Video Background Styles */
.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.masthead .intro-body {
  position: relative;
  z-index: 2;
}

.masthead .modal {
  z-index: 1050;
}

/* Card improvements */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.destination-card {
  cursor: pointer;
}

.destination-card:active {
  transform: translateY(-2px);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 1rem;
  font-weight: bold;
  text-transform: capitalize;
}

.card-text {
  line-height: 1.6;
}

/* Destination Modal Styles */
#destinationModal .modal-dialog {
  max-width: 800px;
}

/* Booking Modal Styles */
#booking-form .modal-dialog {
  max-width: 700px;
}

#booking-form .modal-header {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #d4a017 100%);
  color: white;
  border-bottom: none;
}

#booking-form .modal-title {
  font-weight: bold;
  font-size: 1.5rem;
}

#booking-form .btn-close {
  filter: brightness(0) invert(1);
}

#booking-form .modal-body {
  padding: 2rem;
  background-color: #f8f9fa;
}

#booking-form .booking-form-container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#booking-form .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

#booking-form .form-control,
#booking-form .btn-outline-secondary {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.625rem 0.75rem;
  transition: all 0.3s ease;
}

#booking-form .form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(186, 133, 0, 0.25);
}

#booking-form .btn-outline-secondary {
  background-color: white;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#booking-form .btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: var(--bs-primary);
}

#booking-form .dropdown-menu {
  border-radius: 8px;
  border: 1px solid #ced4da;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#booking-form .dropdown-item {
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
}

#booking-form .dropdown-item:hover {
  background-color: var(--bs-primary);
  color: white;
}

#booking-form .modal-footer {
  border-top: 1px solid #dee2e6;
  padding: 1.25rem 2rem;
  background-color: #f8f9fa;
}

#booking-form .text-danger {
  color: #dc3545;
}

#booking-form .text-muted {
  font-size: 0.875rem;
}

/* Responsive booking modal */
@media (max-width: 768px) {
  #booking-form .modal-dialog {
    margin: 0.5rem;
  }
  
  #booking-form .modal-body {
    padding: 1rem;
  }
  
  #booking-form .booking-form-container {
    padding: 1.25rem;
  }
  
  #booking-form .modal-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  #booking-form .modal-footer .btn {
    width: 100%;
  }
  
  #booking-form .modal-footer .text-muted {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  #booking-form .modal-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  #booking-form .booking-form-container {
    padding: 1rem;
  }
  
  #booking-form .form-label {
    font-size: 0.9rem;
  }
}

#destinationModal .modal-body {
  padding: 2rem;
}

#destinationModal .carousel {
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
}

#destinationModal .carousel-inner {
  height: 100%;
}

#destinationModal .carousel-item {
  height: 100%;
}

#destinationModal .modal-carousel-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

#destinationModal .lead {
  font-size: 1.1rem;
  text-align: justify;
  color: #333;
  line-height: 1.8;
}

#destinationModal .modal-title {
  color: var(--bs-primary);
  font-weight: bold;
}

#destinationModal .carousel-control-prev,
#destinationModal .carousel-control-next {
  width: 10%;
  z-index: 10;
}

#destinationModal .carousel-control-prev-icon,
#destinationModal .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 10px;
}

#destinationModal .carousel-control-prev-icon:hover,
#destinationModal .carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Responsive modal */
@media (max-width: 768px) {
  #destinationModal .modal-dialog {
    margin: 0.5rem;
  }
  
  #destinationModal .modal-body {
    padding: 1rem;
  }
  
  #destinationModal .carousel {
    height: 250px;
  }
  
  #destinationModal .lead {
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  #destinationModal .carousel {
    height: 350px;
  }
}

#about-1 .col-lg-8 {
  max-width: 90%;
}

/* Responsive card widths */
@media (max-width: 767px) {
  .card {
    margin-bottom: 20px;
  }
  
  .card-group {
    display: flex;
    flex-direction: column;
  }
  
  .card.mx-2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #about-1 .col-lg-8 {
    max-width: 95%;
  }
}

@media (min-width: 992px) {
  #about-1 .col-lg-8 {
    max-width: 92%;
  }
}

/* Carousel responsive styles */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel.slide {
  height: 180px;
}

/* Responsive carousel heights */
@media (max-width: 576px) {
  .carousel.slide {
    height: 150px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .carousel.slide {
    height: 160px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .carousel.slide {
    height: 170px;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .carousel.slide {
    height: 180px;
  }
}

@media (min-width: 1201px) {
  .carousel.slide {
    height: 200px;
  }
}

/* Language Dropdown Styling */
.navbar-nav .dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.navbar-nav .nav-item.dropdown {
  display: list-item !important;
}

#languageDropdown,
#languageDropdownMobile {
  color: rgba(255, 255, 255, 1) !important;
  transition: color 0.3s ease;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#languageDropdown:hover,
#languageDropdownMobile:hover {
  color: rgba(255, 255, 255, 1) !important;
}

.navbar-shrink #languageDropdown,
.navbar-shrink #languageDropdownMobile {
  color: rgba(255, 255, 255, 1) !important;
}

.navbar-shrink #languageDropdown:hover,
.navbar-shrink #languageDropdownMobile:hover {
  color: rgba(255, 255, 255, 1) !important;
}

#languageDropdown .fa-globe,
#languageDropdownMobile .fa-globe {
  margin-right: 5px;
}

/* Mobile Language Dropdown Positioning */
#languageDropdownMobile {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
}

/* Ensure language dropdown is always visible */
li.nav-item.dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  display: list-item !important;
}

.navbar-shrink li.nav-item.dropdown {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-menu .dropdown-item {
  color: #212529!important;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #c5c5c5;
  color: var(--bs-primary);
}

.dropdown-menu .dropdown-item img {
  margin-right: 8px;
}

[dir="rtl"] .dropdown-menu .dropdown-item img {
  margin-right: 0;
  margin-left: 8px;
}

/* RTL Language Support */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .navbar-brand {
  margin-right: 0;
  margin-left: 1rem;
}

[dir="rtl"] .navbar-nav {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .me-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

[dir="rtl"] .me-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

[dir="rtl"] .dropdown-menu-end {
  right: auto;
  left: 0;
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

[dir="rtl"] .card-text {
  text-align: right !important;
}

[dir="rtl"] #destinationModal .lead {
  text-align: right;
}

[dir="rtl"] .modal-footer {
  flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-toggle::after {
  margin-left: 0;
  margin-right: 0.255em;
}

[dir="rtl"] #booking-form .btn-outline-secondary {
  text-align: right;
  flex-direction: row-reverse;
}

[dir="rtl"] .carousel-control-prev {
  right: 0;
  left: auto;
}

[dir="rtl"] .carousel-control-next {
  left: 0;
  right: auto;
}

[dir="rtl"] .fa-fw {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* Ensure Arabic font displays properly */
[dir="rtl"] body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'Traditional Arabic', Arial, sans-serif;
}

