/* ==========================================================================
   Ziyarat Tours Landing — Plugin Stylesheet
   Faithful static recreation of the original React/Tailwind design.
   All design tokens (colors, shadows, gradients, typography) are copied
   1:1 from the source project's src/index.css and tailwind.config.js
   ========================================================================== */

#ziyarat-tours-app, #ziyarat-tours-app *, #ziyarat-tours-app *::before, #ziyarat-tours-app *::after {
  box-sizing: border-box;
}

#ziyarat-tours-app {
  --primary: 154 81% 27%;            /* Emerald Green #0D7C4A */
  --primary-foreground: 0 0% 100%;   /* White */

  --secondary: 45 64% 53%;           /* Luxury Gold #D4AF37 */
  --secondary-foreground: 0 0% 0%;   /* Black */

  --accent: 217 91% 60%;             /* Royal Blue */
  --accent-foreground: 0 0% 100%;    /* White */

  --background: 0 0% 100%;
  --foreground: 0 0% 9%;

  --card: 0 0% 100%;
  --card-foreground: 0 0% 9%;

  --muted: 154 20% 96%;
  --muted-foreground: 0 0% 40%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 154 20% 88%;
  --input: 154 20% 88%;
  --ring: 154 81% 27%;

  --radius: 0.75rem;

  font-family: "DM Sans", sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow-x: clip;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#ziyarat-tours-app img { max-width: 100%; display: block; }
#ziyarat-tours-app button { font-family: inherit; cursor: pointer; }
#ziyarat-tours-app a { color: inherit; text-decoration: none; }
#ziyarat-tours-app ul { list-style: none; margin: 0; padding: 0; }
#ziyarat-tours-app h1, #ziyarat-tours-app h2, #ziyarat-tours-app h3, #ziyarat-tours-app p {
  margin: 0;
}
#ziyarat-tours-app svg { display: inline-block; vertical-align: middle; }

html.uth-html, html.uth-html body { scroll-behavior: smooth; }

/* ---------- Layout helpers ---------- */
.uth-container {
  max-width: 80rem; /* 7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .uth-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .uth-container { padding-left: 2rem; padding-right: 2rem; } }

.uth-section { padding-top: 6rem; padding-bottom: 6rem; }
.uth-bg-muted { background-color: hsl(var(--muted)); }
.uth-bg-primary { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.uth-grid { display: grid; gap: 2rem; }
.uth-center { text-align: center; }
.uth-mb-16 { margin-bottom: 4rem; }
.uth-mb-4 { margin-bottom: 1rem; }

/* ---------- Typography ---------- */
.uth-text-display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.uth-text-heading-1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.uth-text-body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 65ch;
}
.uth-text-balance { text-wrap: balance; }
.uth-muted-foreground { color: hsl(var(--muted-foreground)); }
.uth-mx-auto { margin-left: auto; margin-right: auto; }
.uth-max-w-2xl { max-width: 42rem; }
.uth-max-w-3xl { max-width: 48rem; }
.uth-max-w-4xl { max-width: 56rem; }

/* ---------- Buttons ---------- */
#ziyarat-tours-app .uth-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 4px) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  height: 2.5rem;
  padding: 0 1.25rem !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  box-sizing: border-box !important;
  text-decoration: none !important;
  margin: 0;
}
#ziyarat-tours-app .uth-btn:active { transform: scale(0.98); }
#ziyarat-tours-app .uth-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
#ziyarat-tours-app .uth-btn-primary { background-color: hsl(var(--primary)) !important; color: hsl(var(--primary-foreground)) !important; }
#ziyarat-tours-app .uth-btn-primary:hover { background-color: hsl(var(--primary) / 0.9) !important; }
#ziyarat-tours-app .uth-btn-secondary { background-color: hsl(var(--secondary)) !important; color: hsl(var(--secondary-foreground)) !important; }
#ziyarat-tours-app .uth-btn-secondary:hover { background-color: hsl(var(--secondary) / 0.9) !important; }
#ziyarat-tours-app .uth-btn-accent { background-color: hsl(var(--accent)) !important; color: hsl(var(--accent-foreground)) !important; }
#ziyarat-tours-app .uth-btn-accent:hover { background-color: hsl(var(--accent) / 0.9) !important; }
#ziyarat-tours-app .uth-btn-outline { background-color: transparent !important; border: 1px solid hsl(var(--border)) !important; color: hsl(var(--foreground)) !important; }
#ziyarat-tours-app .uth-btn-outline:hover { background-color: hsl(var(--muted)) !important; }
#ziyarat-tours-app .uth-btn-lg { font-size: 1.125rem !important; padding: 1.5rem 2rem !important; height: auto; }
#ziyarat-tours-app .uth-btn-full { width: 100% !important; }
#ziyarat-tours-app .uth-btn-round { border-radius: 9999px !important; }
.uth-btn-icon { width: 2.5rem !important; height: 2.5rem; padding: 0 !important; border-radius: 9999px !important; }

/* ---------- Shadows (copied verbatim) ---------- */
.shadow-luxury-sm { box-shadow: 0 2px 8px rgba(13, 124, 74, 0.08); }
.shadow-luxury { box-shadow: 0 4px 16px rgba(13, 124, 74, 0.12); }
.shadow-luxury-lg { box-shadow: 0 8px 32px rgba(13, 124, 74, 0.16); }
.shadow-luxury-xl { box-shadow: 0 16px 48px rgba(13, 124, 74, 0.2); }
.shadow-gold { box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15); }

/* ---------- Gradients & glass ---------- */
.gradient-emerald-gold { background: linear-gradient(135deg, hsl(154, 81%, 27%) 0%, hsl(45, 64%, 53%) 100%); }
.gradient-overlay { background: linear-gradient(180deg, rgba(13, 124, 74, 0.8) 0%, rgba(13, 124, 74, 0.4) 50%, transparent 100%); }
.glass-emerald {
  background: rgba(13, 124, 74, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 124, 74, 0.3);
}

/* ---------- Transitions ---------- */
.transition-luxury { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-luxury-fast { transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

/* ==========================================================================
   HEADER
   ========================================================================== */
#ziyarat-tours-app .uth-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 99998 !important;
  background-color: hsl(154 81% 24%) !important;
  background-image: linear-gradient(90deg, hsl(154 81% 20%) 0%, hsl(154 81% 28%) 100%) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 !important;
  border: 0 !important;
}
body.admin-bar #ziyarat-tours-app .uth-header { top: 32px !important; }
@media screen and (max-width: 782px) {
  body.admin-bar #ziyarat-tours-app .uth-header { top: 46px !important; }
}
#ziyarat-tours-app .uth-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
#ziyarat-tours-app .uth-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 5rem;
}
#ziyarat-tours-app .uth-logo { display: flex !important; align-items: center !important; gap: 0.75rem; }
#ziyarat-tours-app .uth-logo-badge {
  width: 3.75rem; height: 2.9rem;
  border-radius: 0.5rem;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  padding: 0.3rem 0.35rem;
}
#ziyarat-tours-app .uth-logo-badge img { width: 100% !important; height: 100% !important; object-fit: contain; }
#ziyarat-tours-app .uth-logo-title { font-size: 1.125rem; font-weight: 700 !important; color: #ffffff !important; letter-spacing: 0.01em; line-height: 1.3; }
#ziyarat-tours-app .uth-logo-sub { font-size: 0.75rem; color: hsl(45 70% 72%) !important; font-weight: 500; line-height: 1.3; }

#ziyarat-tours-app .uth-nav-desktop { display: none; align-items: center; gap: 2rem; }
#ziyarat-tours-app .uth-nav-desktop button {
  background: none !important; border: none !important; font-size: 0.875rem; font-weight: 600 !important;
  color: #ffffff !important;
  opacity: 0.95;
  padding: 0;
}
#ziyarat-tours-app .uth-nav-desktop button:hover { color: hsl(var(--secondary)) !important; opacity: 1; }
#ziyarat-tours-app .uth-header-actions { display: none; align-items: center; gap: 1rem; }
#ziyarat-tours-app .uth-header-actions .uth-btn-primary {
  background-color: hsl(var(--secondary)) !important;
  color: hsl(var(--secondary-foreground)) !important;
}
#ziyarat-tours-app .uth-header-actions .uth-btn-primary:hover { background-color: hsl(45 64% 46%) !important; }
#ziyarat-tours-app .uth-mobile-toggle {
  background: none !important; border: none !important; padding: 0.5rem; color: #ffffff !important;
}
#ziyarat-tours-app .uth-mobile-toggle svg { width: 1.5rem; height: 1.5rem; color: #ffffff !important; stroke: #ffffff !important; }
#ziyarat-tours-app .uth-mobile-toggle .icon-close { display: none; }
#ziyarat-tours-app .uth-mobile-toggle.is-open .icon-menu { display: none; }
#ziyarat-tours-app .uth-mobile-toggle.is-open .icon-close { display: inline-block; }

@media (min-width: 768px) {
  #ziyarat-tours-app .uth-nav-desktop { display: flex; }
  #ziyarat-tours-app .uth-header-actions { display: flex; }
  #ziyarat-tours-app .uth-mobile-toggle { display: none; }
}

.uth-mobile-menu {
  display: none;
  background-color: hsl(var(--background) / 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--border));
  box-shadow: 0 16px 48px rgba(13,124,74,0.2);
}
.uth-mobile-menu.is-open { display: block; }
.uth-mobile-menu nav { padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 1rem; }
.uth-mobile-menu nav button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  font-size: 1rem; font-weight: 500; color: hsl(var(--foreground)); padding: 0.5rem 0;
}
.uth-mobile-menu nav button:hover { color: hsl(var(--primary)); }
@media (min-width: 768px) { .uth-mobile-menu { display: none !important; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.uth-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.uth-hero-bg { position: absolute; inset: 0; }
.uth-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.uth-hero-content {
  position: relative; z-index: 10;
  max-width: 80rem; margin: 0 auto;
  padding: 8rem 1rem; text-align: center;
}
@media (min-width: 640px) { .uth-hero-content { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .uth-hero-content { padding-left: 2rem; padding-right: 2rem; } }

.uth-hero-title { color: #fff; margin-bottom: 1.5rem; }
.uth-hero-sub {
  font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 3rem;
  max-width: 48rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .uth-hero-sub { font-size: 1.5rem; } }

.uth-hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem;
}
.uth-hero-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem; border-radius: 0.5rem;
}
.uth-hero-badge svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--secondary)); }
.uth-hero-badge span { color: #fff; font-weight: 500; }

.uth-hero-ctas { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .uth-hero-ctas { flex-direction: row; } }

.uth-fade-up {
  opacity: 1; transform: none;
  transition: all 1s ease;
}
.uth-fade-up.uth-fade-pending { opacity: 0; transform: translateY(2rem); }
.uth-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   CARD (generic)
   ========================================================================== */
.uth-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
}
.uth-card-body { padding: 1.5rem; }

/* ==========================================================================
   BOOKING WIDGET
   ========================================================================== */
.uth-booking-card {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: rgba(13, 124, 74, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(13, 124, 74, 0.2);
}
.uth-booking-header { padding: 1.5rem 1.5rem 0; }
.uth-booking-header h3 { font-size: 1.5rem; font-weight: 700; text-align: center; text-wrap: balance; }
.uth-booking-body { padding: 1.5rem; }

.uth-form-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .uth-form-grid { grid-template-columns: 1fr 1fr; } }

.uth-field { display: flex; flex-direction: column; gap: 0.5rem; }
.uth-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
}
.uth-label svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); }

.uth-input, .uth-select, .uth-textarea {
  display: flex; width: 100%;
  height: 2.25rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-family: inherit;
}
.uth-textarea { height: auto; min-height: 7.5rem; padding: 0.5rem 0.75rem; resize: none; }
.uth-input:focus, .uth-select:focus, .uth-textarea:focus {
  outline: none; box-shadow: 0 0 0 1px hsl(var(--ring));
}
.uth-input::placeholder, .uth-textarea::placeholder { color: hsl(var(--muted-foreground)); }

.uth-form-hint {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1.5rem;
}
.uth-form-hint a { color: hsl(var(--primary)); font-weight: 600; text-decoration: underline; }

#ziyarat-tours-app .uth-booking-submit {
  margin-top: 1.5rem;
  font-size: clamp(0.8rem, 3.6vw, 1.125rem) !important;
  padding: 1.25rem 0.75rem !important;
  height: auto !important;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: center !important;
  line-height: 1.35 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: 100%;
}
@media (max-width: 380px) {
  #ziyarat-tours-app .uth-booking-submit { font-size: 0.75rem !important; padding: 1rem 0.5rem !important; letter-spacing: -0.01em; }
}

/* ==========================================================================
   FEATURE / SERVICE CARDS
   ========================================================================== */
.uth-feature-card {
  text-align: center; padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.uth-feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(13,124,74,0.16); }
.uth-feature-icon {
  width: 4.25rem; height: 4.25rem; border-radius: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(13, 124, 74, 0.18), 0 0 0 6px hsl(var(--primary) / 0.08);
}
.uth-feature-card:hover .uth-feature-icon { transform: scale(1.08); }
.uth-feature-icon svg { width: 2.1rem; height: 2.1rem; color: #fff; }
.uth-feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; text-wrap: balance; }
.uth-feature-card:hover h3 { color: hsl(var(--primary)); }
.uth-feature-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

.uth-service-card { padding: 0; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(13,124,74,0.16); border-color: hsl(var(--primary) / 0.3); }
.uth-service-card .uth-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.uth-service-image { position: relative; width: 100%; height: 9.5rem; overflow: hidden; }
.uth-service-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-service-card:hover .uth-service-image img { transform: scale(1.06); }
.uth-service-icon-badge {
  position: absolute; left: 1rem; bottom: -1.15rem;
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  background-color: hsl(var(--secondary));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.uth-service-icon-badge svg { width: 1.375rem; height: 1.375rem; color: hsl(var(--secondary-foreground)); }
.uth-service-card .uth-card-body { padding-top: 1.75rem; }
.uth-service-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; text-wrap: balance; }
.uth-service-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ==========================================================================
   VEHICLE CARDS
   ========================================================================== */
.uth-vehicle-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-vehicle-card:hover { box-shadow: 0 8px 32px rgba(13,124,74,0.16); }
.uth-vehicle-image { position: relative; height: 14rem; overflow: hidden; }
.uth-vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-vehicle-card:hover .uth-vehicle-image img { transform: scale(1.1); }
.uth-vehicle-price-badge {
  position: absolute; top: 1rem; right: 1rem;
  background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground));
  padding: 0.25rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600;
}
.uth-vehicle-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; text-wrap: balance; }
.uth-vehicle-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; color: hsl(var(--muted-foreground)); }
.uth-vehicle-meta-item { display: flex; align-items: center; gap: 0.5rem; }
.uth-vehicle-meta-item svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); }
.uth-vehicle-meta-item span { font-size: 0.875rem; font-weight: 500; }
.uth-vehicle-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.uth-vehicle-tag {
  display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem;
  background-color: hsl(var(--muted)); padding: 0.25rem 0.5rem; border-radius: 0.25rem;
}
.uth-vehicle-tag svg { width: 0.75rem; height: 0.75rem; }
.uth-vehicle-card .uth-card-body { padding-bottom: 0; }
.uth-vehicle-footer { padding: 1.5rem; padding-top: 0; }

/* ==========================================================================
   ROUTE CARDS
   ========================================================================== */
.uth-route-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-route-card:hover { box-shadow: 0 8px 32px rgba(13,124,74,0.16); }
.uth-route-image { position: relative; height: 12rem; overflow: hidden; }
.uth-route-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-route-card:hover .uth-route-image img { transform: scale(1.1); }
.uth-route-image-label { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; }
.uth-route-image-label h3 { font-size: 1.25rem; font-weight: 700; color: #fff; text-wrap: balance; }
.uth-route-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; text-align: center; }
.uth-route-stats svg { width: 1.25rem; height: 1.25rem; margin: 0 auto 0.25rem; }
.uth-route-stats .icon-primary { color: hsl(var(--primary)); }
.uth-route-stats .icon-secondary { color: hsl(var(--secondary)); }
.uth-route-stat-label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.uth-route-desc { color: hsl(var(--muted-foreground)); font-size: 0.9rem; line-height: 1.5; }

/* ---- Card action buttons: Book Now / Call Now / WhatsApp (fleet + Ziyarat cards) ---- */
.uth-vehicle-card .uth-card-body,
.uth-route-card .uth-card-body { padding-bottom: 0.5rem; }
.uth-card-actions { padding: 1.5rem; padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.uth-card-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.uth-card-actions .uth-btn { padding-top: 0.7rem !important; padding-bottom: 0.7rem !important; }
.uth-btn-destructive { background-color: hsl(var(--destructive)) !important; color: hsl(var(--destructive-foreground)) !important; }
.uth-btn-destructive:hover { background-color: hsl(var(--destructive) / 0.9) !important; }

/* ---- Rate list table ---- */
.uth-rate-table-wrap { overflow-x: auto; border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.uth-rate-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.925rem; }
.uth-rate-table thead th {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: left;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}
.uth-rate-table thead th:first-child { border-top-left-radius: calc(var(--radius) - 4px); }
.uth-rate-table thead th:last-child { border-top-right-radius: calc(var(--radius) - 4px); }
.uth-rate-table tbody td { padding: 0.85rem 1.1rem; border-top: 1px solid hsl(var(--border)); white-space: nowrap; }
.uth-rate-table tbody tr:nth-child(even) { background-color: hsl(var(--muted) / 0.5); }
.uth-rate-route-name { font-weight: 600; white-space: normal !important; }
.uth-rate-note { margin-top: 1rem; font-size: 0.85rem; color: hsl(var(--muted-foreground)); text-align: center; }

@media (max-width: 640px) {
  .uth-rate-table-wrap { overflow-x: visible; }
  .uth-rate-table { min-width: 0; width: 100%; table-layout: fixed; font-size: 0.6875rem; }
  .uth-rate-table thead th,
  .uth-rate-table tbody td {
    padding: 0.45rem 0.3rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
  .uth-rate-table thead th:first-child,
  .uth-rate-table tbody td.uth-rate-route-name { text-align: left; width: 32%; }
  .uth-rate-route-name { font-size: 0.6875rem; line-height: 1.25; }
}
@media (max-width: 400px) {
  .uth-rate-table { font-size: 0.625rem; }
  .uth-rate-table thead th, .uth-rate-table tbody td { padding: 0.4rem 0.2rem; }
}
.uth-route-stat-value { font-size: 0.875rem; font-weight: 600; }

/* ==========================================================================
   STATS
   ========================================================================== */
.uth-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
@media (min-width: 768px) { .uth-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.uth-stat { text-align: center; }
.uth-stat-value { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .uth-stat-value { font-size: 3rem; } }
.uth-stat-label { font-size: 1rem; font-weight: 500; opacity: 0.9; }
@media (min-width: 768px) { .uth-stat-label { font-size: 1.125rem; } }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.uth-gallery { columns: 1; gap: 1.5rem; }
@media (min-width: 768px) { .uth-gallery { columns: 2; } }
@media (min-width: 1024px) { .uth-gallery { columns: 3; } }
.uth-gallery-item { break-inside: avoid; margin-bottom: 1.5rem; cursor: pointer; overflow: hidden; border-radius: 1rem; box-shadow: 0 4px 16px rgba(13,124,74,0.12); }
.uth-gallery-item img { width: 100%; height: auto; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.uth-gallery-item:hover img { transform: scale(1.1); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.uth-testimonial-viewport { overflow: hidden; }
.uth-testimonial-track { display: flex; transition: transform 0.5s ease-in-out; }
.uth-testimonial-slide { width: 100%; flex-shrink: 0; padding: 0 1rem; }
.uth-testimonial-card { height: 100%; padding: 1.5rem; }
.uth-testimonial-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.uth-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; overflow: hidden;
  flex-shrink: 0; background-color: hsl(var(--muted));
  display: flex; align-items: center; justify-content: center;
}
.uth-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uth-avatar-fallback { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-weight: 600; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.uth-testimonial-name { font-weight: 600; }
.uth-testimonial-country { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.uth-stars { display: flex; gap: 0.25rem; margin-bottom: 0.75rem; }
.uth-stars svg { width: 1rem; height: 1rem; }
.uth-stars svg.filled { fill: hsl(var(--secondary)); color: hsl(var(--secondary)); }
.uth-stars svg.empty { color: hsl(var(--muted)); }
.uth-testimonial-review { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; font-style: italic; }

.uth-testimonial-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.uth-testimonial-dots { display: flex; align-items: center; gap: 0.5rem; }
.uth-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 9999px; border: none;
  background-color: hsl(var(--muted-foreground) / 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}
.uth-dot.active { background-color: hsl(var(--primary)); width: 2rem; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.uth-accordion { display: flex; flex-direction: column; gap: 1rem; }
.uth-accordion-item {
  border: 1px solid hsl(var(--border)); border-radius: 0.75rem;
  background-color: hsl(var(--card));
  box-shadow: 0 2px 8px rgba(13,124,74,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  overflow: hidden;
}
.uth-accordion-item:hover { box-shadow: 0 4px 16px rgba(13,124,74,0.12); }
.uth-accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; text-align: left;
  padding: 1.25rem 0; font-weight: 600; font-size: 1rem;
}
.uth-accordion-trigger:hover { color: hsl(var(--primary)); }
.uth-accordion-trigger svg {
  width: 1rem; height: 1rem; flex-shrink: 0; color: hsl(var(--muted-foreground));
  transition: transform 0.2s ease;
}
.uth-accordion-item.is-open .uth-accordion-trigger svg { transform: rotate(180deg); }
.uth-accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.uth-accordion-item.is-open .uth-accordion-panel { max-height: 30rem; }
.uth-accordion-panel-inner { padding-bottom: 1.25rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.uth-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .uth-contact-grid { grid-template-columns: 1fr 1fr; } }
.uth-contact-grid > div { display: flex; flex-direction: column; height: 100%; }
.uth-contact-form { display: flex; flex-direction: column; gap: 1.5rem; flex: 1; }
.uth-contact-form .uth-field:last-of-type { flex: 1; display: flex; flex-direction: column; }
.uth-contact-form .uth-field:last-of-type textarea { flex: 1; min-height: 8rem; }
.uth-contact-info-card { background-color: hsl(var(--card)); border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 16px rgba(13,124,74,0.12); flex: 1; display: flex; flex-direction: column; }
.uth-contact-info-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.uth-contact-info-list { display: flex; flex-direction: column; gap: 1rem; flex: 1; justify-content: space-evenly; }
.uth-contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.uth-contact-info-item svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.25rem; }
.uth-contact-info-item p.label { font-weight: 500; margin-bottom: 0.25rem; }
.uth-contact-info-item a, .uth-contact-info-item p.value { color: hsl(var(--muted-foreground)); font-size: 0.95rem; }
.uth-contact-info-item a:hover { color: hsl(var(--primary)); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.uth-footer { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.uth-footer-inner { padding: 4rem 1rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 640px) { .uth-footer-inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .uth-footer-inner { padding-left: 2rem; padding-right: 2rem; } }
.uth-footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 3rem; padding-top: 2rem; }
.uth-footer-bottom-inner { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .uth-footer-bottom-inner { flex-direction: row; } }
.uth-footer-bottom p { font-size: 0.875rem; opacity: 0.8; }
.uth-footer-bottom-links { display: flex; gap: 1.5rem; flex-shrink: 0; }
.uth-footer-bottom-links a { font-size: 0.875rem; opacity: 0.8; }
.uth-footer-bottom-links a:hover { opacity: 1; color: hsl(var(--secondary)); }
.uth-footer-copy-credit { text-align: center; }
@media (min-width: 768px) { .uth-footer-copy-credit { text-align: left; } }
.uth-footer-credit-inline { opacity: 0.85; }
.uth-footer-credit-inline a { color: hsl(var(--secondary)); font-weight: 600; text-decoration: none; }
.uth-footer-credit-inline a:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .uth-footer-credit-inline { display: block; margin-top: 0.25rem; }
  .uth-footer-credit-inline::before { content: none; }
}
.uth-footer-inner-minimal { padding-top: 2rem; padding-bottom: 2rem; }
.uth-footer-bottom-minimal { border-top: none; margin-top: 0; padding-top: 0; }

/* ==========================================================================
   TOASTS
   ========================================================================== */
.uth-toast-container {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; align-items: center;
  pointer-events: none;
}
.uth-toast {
  background-color: hsl(var(--card)); color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem; padding: 0.875rem 1.25rem;
  box-shadow: 0 8px 32px rgba(13,124,74,0.16);
  font-size: 0.875rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
  animation: uthToastIn 0.25s ease;
  pointer-events: auto;
}
.uth-toast.success { border-color: hsl(var(--primary) / 0.4); }
.uth-toast.error { border-color: hsl(var(--destructive) / 0.4); }
.uth-toast .dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; flex-shrink: 0; }
.uth-toast.success .dot { background-color: hsl(var(--primary)); }
.uth-toast.error .dot { background-color: hsl(var(--destructive)); }
@keyframes uthToastIn {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE GRID UTILITIES (per-section)
   ========================================================================== */
.uth-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .uth-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.uth-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .uth-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .uth-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.uth-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .uth-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .uth-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Reveal-on-scroll staggered delay (inline style sets --delay) */
.uth-reveal { transition-delay: var(--uth-delay, 0ms); }

/* Skip-link / accessibility */
#ziyarat-tours-app :focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #ziyarat-tours-app * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
