/**
 * Homez - Custom Styles
 * Bootstrap 5 Customizations
 */

/* 1. FONT SETUP */
@font-face {
  font-family: "ArabicFont";
  src: url("../fonts/Droid.Arabic.Kufi_DownloadSoftware.iR_.ttf")
    format("truetype");
  font-display: swap;
}

/* 2. ARABIC TEXT ONLY (Avoids breaking icons) */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] span:not([class*="bi-"]):not([class*="fa-"]),
[dir="rtl"] a:not([class*="bi-"]):not([class*="fa-"]),
[dir="rtl"] div:not([class*="bi-"]):not([class*="fa-"]) {
  font-family: "ArabicFont", sans-serif !important;
}

/* Currency Label - RTL Alignment */
.currency-label {
  direction: ltr;
  display: inline-block;
  unicode-bidi: embed;
}

/* Professional Logo Sizing */
.main-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

/* Optional: Slight hover effect to make it feel interactive */
.main-logo:hover {
  transform: scale(1.03);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .main-logo {
    height: 40px;
    max-width: 120px;
  }
}

/* 3. LIGHTBOX NAVIGATION ARROWS */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  border: none !important;
  width: 60px;
  height: 60px;
  cursor: pointer;
  font-size: 30px;
  border-radius: 50%;
  z-index: 10000 !important; /* Ensure they are above the image */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}
.prev-btn {
  left: 30px;
}
.next-btn {
  right: 30px;
}

/* ============================================
   CSS Variables
   ============================================ */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;

  /* RTL Support */
  --bs-body-bg: #f8f9fa;
  --bs-body-color: #212529;
}

/* ============================================
   Base Styles
   ============================================ */
body {
  font-family:
    "ArabicFont", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  overflow-x: hidden;
}

/* RTL Support for Arabic text */
[lang="ar"] body,
body[dir="rtl"],
.arabic-text {
  font-family: "ArabicFont", "Droid Arabic Kufi", sans-serif !important;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ============================================
   Navbar Customization
   ============================================ */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: #0d6efd !important;
}

/* Dropdown Active States */
.navbar .nav-item.dropdown.active > .nav-link {
  color: #0d6efd !important;
  font-weight: 600;
}

.navbar .nav-item.dropdown.active > .nav-link::after {
  border-color: #0d6efd !important;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background-color: #e7f1ff;
  color: #0d6efd;
  font-weight: 500;
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar .nav-link {
  font-weight: 500;
  padding: 8px 15px !important;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-color) !important;
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px;
  z-index: 1050;
}

.navbar .dropdown-item {
  border-radius: 5px;
  padding: 8px 15px;
}

.navbar .dropdown-item:hover {
  background: var(--primary-color);
  color: white;
}

/* Top bar dropdown z-index fix */
.top-bar .dropdown {
  z-index: 1060;
}

.top-bar .dropdown-menu {
  z-index: 1060;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  font-size: 0.85rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

/* ============================================
   Cards
   ============================================ */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Forms
   ============================================ */
.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}

/* ============================================
   Badges
   ============================================ */
.badge {
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
}

/* ============================================
   Search Section
   ============================================ */
.search-tabs {
  border: none;
}

.search-tabs .nav-link {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 12px 24px;
  margin-right: 5px;
  border-radius: 8px 8px 0 0;
  font-weight: 500;
  color: white;
}

.search-tabs .nav-link.active {
  background: white;
  color: var(--primary-color);
}

.search-card {
  background: white;
  border-radius: 0 12px 12px 12px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Deal Cards
   ============================================ */
.deal-card {
  overflow: hidden;
}

.deal-card .card-img-top {
  height: 180px;
  object-fit: cover;
}

.deal-badge {
  position: absolute;
  top: 15px;
  right: 15px;
}

[dir="rtl"] .deal-badge {
  right: auto;
  left: 15px;
}

/* ============================================
   Stats Section
   ============================================ */
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 15px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* ============================================
   Feature Boxes
   ============================================ */
.feature-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e7f1ff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  background: var(--primary-color);
  color: white;
}

/* ============================================
   Star Rating
   ============================================ */
.star-rating {
  color: #ffc107;
}

.star-rating .fas,
.star-rating .fa-star {
  color: #ffc107;
}

.star-rating .far,
.star-rating .fa-star-empty {
  color: #dee2e6;
}

/* ============================================
   Social Media Sticky Tabs
   ============================================ */
.social-sticky-tabs {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

[dir="rtl"] .social-sticky-tabs {
  right: auto;
  left: 20px;
}

.social-tabs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-tab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-tab:hover {
  transform: scale(1.1);
}

.social-tab.instagram {
  background: #e4405f;
}
.social-tab.tiktok {
  background: #000000;
}
.social-tab.facebook {
  background: #1877f2;
}
.social-tab.twitter {
  background: #000000;
}
.social-tab.youtube {
  background: #ff0000;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #1a1a1a;
  color: #ffffff;
}

.footer h5,
.footer h6 {
  color: #ffffff !important;
  font-weight: 600;
}

.footer p {
  color: #e0e0e0;
}

.footer a {
  color: #e0e0e0 !important;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #ffffff !important;
  padding-left: 5px;
}

.footer .list-unstyled li {
  color: #e0e0e0;
}

.footer .text-muted {
  color: #b0b0b0 !important;
}

[dir="rtl"] .footer a:hover {
  padding-left: 0;
  padding-right: 5px;
}

.newsletter-form .form-control {
  border-radius: 8px 0 0 8px;
}

[dir="rtl"] .newsletter-form .form-control {
  border-radius: 0 8px 8px 0;
}

.newsletter-form .btn {
  border-radius: 0 8px 8px 0;
}

[dir="rtl"] .newsletter-form .btn {
  border-radius: 8px 0 0 8px;
}

/* ============================================
   Card Price Styling (Premium Feel)
   ============================================ */
.deal-card .price-display {
  font-size: 1.1rem;
  font-weight: 600;
}

.deal-card .price-currency {
  font-size: 0.85rem;
  opacity: 0.8;
}

.deal-card .view-deal-btn {
  padding: 6px 10px;
  font-size: 0.85rem;
}

.deal-card .view-deal-btn i {
  font-size: 1rem;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  margin: 0;
}

.page-link {
  border-radius: 8px;
  margin: 0 3px;
  color: var(--primary-color);
}

.page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
}

.alert-success {
  background: #d1e7dd;
  color: #0f5132;
}

.alert-danger {
  background: #f8d7da;
  color: #842029;
}

.alert-warning {
  background: #fff3cd;
  color: #664d03;
}

.alert-info {
  background: #cff4fc;
  color: #055160;
}

/* ============================================
   Loading Spinner
   ============================================ */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0a58ca;
}

/* ============================================
   Slick Slider Custom Styles
   ============================================ */
.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 10;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slick-prev:hover,
.slick-next:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

.slick-prev {
  left: -20px;
}

.slick-next {
  right: -20px;
}

.slick-prev::before,
.slick-next::before {
  display: none;
}

.slick-prev i,
.slick-next i {
  font-size: 18px;
  color: #495057;
}

.slick-prev:hover i,
.slick-next:hover i {
  color: white;
}

.slick-dots {
  bottom: -30px;
}

.slick-dots li button::before {
  font-size: 10px;
  color: #0d6efd;
}

.slick-dots li.slick-active button::before {
  font-size: 12px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0a58ca;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 100px;
  }

  .search-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }

  .search-tabs .nav-link {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .search-card {
    padding: 15px;
  }

  .stat-card {
    padding: 20px;
  }

  .feature-box {
    padding: 20px 15px;
  }

  .social-sticky-tabs {
    bottom: 10px;
    right: 10px;
  }

  .social-tab {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  h1,
  .h1 {
    font-size: 1.8rem;
  }

  h2,
  .h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   RTL Support Classes
   ============================================ */
[dir="rtl"] .me-2 {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .ms-2 {
  margin-left: 0;
  margin-right: 0.5rem;
}

[dir="rtl"] .me-3 {
  margin-right: 0;
  margin-left: 1rem;
}

[dir="rtl"] .ms-3 {
  margin-left: 0;
  margin-right: 1rem;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

/* ============================================
   Utility Classes
   ============================================ */
.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.text-gradient-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Klook-Style Search Bar
   ============================================ */
div.search-bar-container {
  position: relative !important;
  z-index: 100 !important;
  margin-top: -60px !important;
  padding: 0 20px !important;
  margin-bottom: 40px !important;
}

div.search-bar-wrapper {
  background: #ffffff !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

form.search-form {
  width: 100% !important;
}

div.search-bar {
  display: flex !important;
  align-items: stretch !important;
  background: #ffffff !important;
  border-radius: 50px !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

/* Search Fields */
div.search-field {
  display: flex !important;
  align-items: center !important;
  padding: 18px 24px !important;
  flex: 1 !important;
  min-width: 150px !important;
  position: relative !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  border: none !important;
  background: transparent !important;
}

div.search-field:hover {
  background: #fafafa !important;
}

div.search-field .field-icon {
  width: 36px !important;
  height: 36px !important;
  background: #f5f5f5 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 14px !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

div.search-field:hover .field-icon {
  background: #fff5e6 !important;
}

[dir="rtl"] div.search-field .field-icon {
  margin-right: 0 !important;
  margin-left: 14px !important;
}

div.search-field .field-icon i {
  color: #666 !important;
  font-size: 16px !important;
  transition: color 0.2s ease !important;
}

div.search-field:hover .field-icon i {
  color: #ff5b00 !important;
}

div.search-field .field-content {
  flex: 1 !important;
  min-width: 0 !important;
}

div.search-field .field-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #999 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: block !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

div.search-field .field-input {
  border: none !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #222 !important;
  width: 100% !important;
  padding: 0 !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

div.search-field .field-input::placeholder {
  color: #bbb !important;
}

div.search-field .field-input:focus {
  border: none !important;
  box-shadow: none !important;
}

/* Date picker styling */
div.search-field .date-picker {
  font-family: inherit !important;
}

div.search-field .date-picker::-webkit-calendar-picker-indicator {
  filter: grayscale(100%) opacity(0.3) !important;
  cursor: pointer !important;
}

/* Guest trigger input */
div.search-field .guest-trigger {
  cursor: pointer !important;
}

/* Vertical Divider */
div.search-divider {
  width: 1px !important;
  height: auto !important;
  background: #e8e8e8 !important;
  flex-shrink: 0 !important;
  align-self: stretch !important;
}

/* Search Button - Vibrant Orange */
button.search-button,
.search-button {
  background: #ff5b00 !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 20px 36px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
  margin: 6px !important;
}

.search-button:hover,
button.search-button:hover {
  background: #e55000 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 4px 15px rgba(255, 91, 0, 0.4) !important;
}

.search-button i,
button.search-button i {
  font-size: 18px !important;
  margin-right: 8px !important;
}

.search-button .search-text {
  font-weight: 600 !important;
}

[dir="rtl"] .search-button i {
  margin-right: 0 !important;
  margin-left: 8px !important;
}

/* Guest Dropdown */
.guest-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  min-width: 300px;
  z-index: 1000;
  display: none;
  margin-top: 10px;
}

.guest-dropdown.show {
  display: block;
  animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.guest-row:last-of-type {
  border-bottom: none;
}

.guest-info {
  display: flex;
  flex-direction: column;
}

.guest-label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.guest-desc {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.guest-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guest-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.guest-btn:hover {
  border-color: #ff5b00;
  color: #ff5b00;
  background: #fff5e6;
}

.guest-count {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  min-width: 24px;
  text-align: center;
}

.guest-done-btn {
  width: 100%;
  background: #ff5b00;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s ease;
}

.guest-done-btn:hover {
  background: #e55000;
}

/* Responsive Design */
@media (max-width: 991px) {
  div.search-bar-container {
    margin-top: -40px !important;
    padding: 0 15px !important;
  }

  div.search-bar-wrapper {
    border-radius: 20px !important;
  }

  div.search-bar {
    flex-direction: column !important;
    border-radius: 16px !important;
  }

  div.search-field {
    width: 100% !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  div.search-field:last-of-type {
    border-bottom: none !important;
  }

  div.search-divider {
    display: none !important;
  }

  button.search-button,
  .search-button {
    width: calc(100% - 12px) !important;
    margin: 6px !important;
    border-radius: 12px !important;
    padding: 16px !important;
  }

  .guest-dropdown {
    left: 0 !important;
    transform: none !important;
    width: calc(100% - 40px) !important;
    margin: 10px 20px !important;
  }

  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 576px) {
  div.search-bar-container {
    margin-top: -30px !important;
  }

  div.search-field {
    padding: 14px 16px !important;
  }

  div.search-field .field-icon {
    width: 32px !important;
    height: 32px !important;
    margin-right: 10px !important;
  }

  [dir="rtl"] div.search-field .field-icon {
    margin-right: 0 !important;
    margin-left: 10px !important;
  }

  div.search-field .field-label {
    font-size: 11px !important;
  }

  div.search-field .field-input {
    font-size: 14px !important;
  }

  button.search-button,
  .search-button {
    padding: 14px !important;
    font-size: 15px !important;
  }
}

/* Animation on load */
.search-bar-wrapper {
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states */
.search-field:focus-within .field-icon {
  background: #ff5b00;
}

.search-field:focus-within .field-icon i {
  color: white;
}

.search-field:focus-within {
  background: #fafafa;
}

/* Guest Picker Dropdown - Klook Style */
.guest-picker-dropdown {
  position: absolute;
  top: 70px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 280px;
  right: 0;
}

[dir="rtl"] .guest-picker-dropdown {
  right: auto;
  left: 0;
}

.picker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.picker-row:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.picker-row span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ff5b00;
  background: white;
  color: #ff5b00;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.stepper button:hover {
  background: #ff5b00;
  color: white;
}

.stepper span {
  min-width: 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.done-btn {
  width: 100%;
  background: #ff5b00;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.done-btn:hover {
  background: #e55000;
}

/* Mobile adjustments for dropdown */
@media (max-width: 991px) {
  .guest-picker-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  }
}
