/*
Theme Name: Hello Elementor Child — Al-Haramain Chauffeur
Theme URI: https://example.com/al-haramain-chauffeur
Description: Lightweight, high-performance Hello Elementor Child Theme engineered for Umrah Booking & Private Chauffeur Transportation Service in Saudi Arabia. Matches the dark-and-gold (#08090A / #FFD400 / #F3F1E9) visual identity, responsive 8-breakpoint grid system, and custom Elementor container architecture.
Author: Senior WordPress & Elementor Agency
Author URI: https://example.com
Template: hello-elementor
Version: 2.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
*/

:root {
  --uh-bg-primary: #08090A;
  --uh-bg-secondary: #101214;
  --uh-bg-card: #151719;
  --uh-yellow: #FFD400;
  --uh-yellow-hover: #F0BD00;
  --uh-offwhite: #F3F1E9;
  --uh-white: #FFFFFF;
  --uh-text-main: #17191B;
  --uh-text-muted: #A4A5A5;
  --uh-border: #282A2C;
  --uh-whatsapp: #25D366;
  --uh-font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --uh-font-body: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --uh-font-accent: 'DM Sans', 'Inter', sans-serif;
  --uh-radius-card: 16px;
  --uh-radius-btn: 10px;
  --uh-shadow-card: 0 14px 34px rgba(0, 0, 0, 0.28);
  --uh-shadow-light: 0 10px 28px rgba(23, 25, 27, 0.07);
  --uh-max-width: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--uh-bg-primary);
  color: var(--uh-white);
  font-family: var(--uh-font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--uh-font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.uh-highlight-yellow {
  color: var(--uh-yellow);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container & Section Defaults */
.uh-container {
  width: 100%;
  max-width: var(--uh-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.uh-section {
  padding: 84px 0;
  position: relative;
}

.uh-section--dark {
  background-color: var(--uh-bg-primary);
  color: var(--uh-white);
}

.uh-section--dark-alt {
  background-color: var(--uh-bg-secondary);
  color: var(--uh-white);
}

.uh-section--offwhite {
  background-color: var(--uh-offwhite);
  color: var(--uh-text-main);
}

.uh-section--yellow {
  background-color: var(--uh-yellow);
  color: var(--uh-text-main);
}

/* Badges & Section Eyebrows */
.uh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--uh-font-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.uh-section--dark .uh-eyebrow,
.uh-section--dark-alt .uh-eyebrow {
  background: rgba(255, 212, 0, 0.12);
  color: var(--uh-yellow);
  border: 1px solid rgba(255, 212, 0, 0.3);
}

.uh-section--offwhite .uh-eyebrow {
  background: #17191B;
  color: var(--uh-yellow);
}

/* Buttons */
.uh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--uh-font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--uh-radius-btn);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  min-height: 48px;
}

.uh-btn--yellow {
  background-color: var(--uh-yellow);
  color: var(--uh-text-main);
}

.uh-btn--yellow:hover {
  background-color: var(--uh-yellow-hover);
  transform: translateY(-2px);
}

.uh-btn--dark {
  background-color: var(--uh-bg-primary);
  color: var(--uh-white);
  border-color: var(--uh-bg-primary);
}

.uh-btn--dark:hover {
  background-color: var(--uh-bg-card);
  color: var(--uh-yellow);
  transform: translateY(-2px);
}

.uh-btn--outline {
  background-color: transparent;
  color: var(--uh-white);
  border-color: var(--uh-border);
}

.uh-btn--outline:hover {
  border-color: var(--uh-yellow);
  color: var(--uh-yellow);
}

.uh-btn--whatsapp {
  background-color: var(--uh-whatsapp);
  color: #08090A;
  font-weight: 800;
}

.uh-btn--whatsapp:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

/* Header & Mega Menu Navigation */
.uh-site-header {
  background-color: rgba(8, 9, 10, 0.96);
  border-bottom: 1px solid var(--uh-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.uh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.uh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--uh-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--uh-white);
}

.uh-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--uh-yellow);
  color: var(--uh-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}

.uh-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.uh-nav-list > li {
  position: relative;
}

.uh-nav-list > li > a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--uh-white);
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.uh-nav-list > li > a:hover {
  color: var(--uh-yellow);
}

.uh-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--uh-bg-card);
  border: 1px solid var(--uh-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--uh-shadow-card);
  display: none;
  z-index: 1100;
}

.uh-nav-list > li:hover .uh-dropdown,
.uh-nav-list > li:focus-within .uh-dropdown {
  display: block;
}

.uh-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--uh-offwhite);
  border-radius: 8px;
}

.uh-dropdown a:hover {
  background: rgba(255, 212, 0, 0.12);
  color: var(--uh-yellow);
}

.uh-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.uh-hamburger {
  display: none;
  background: var(--uh-bg-card);
  color: var(--uh-white);
  border: 1px solid var(--uh-border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Grids & Cards */
.uh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.uh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.uh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.uh-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.uh-card {
  background-color: var(--uh-bg-card);
  border: 1px solid var(--uh-border);
  border-radius: var(--uh-radius-card);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.uh-card:hover {
  transform: translateY(-4px);
  border-color: var(--uh-yellow);
}

.uh-section--offwhite .uh-card {
  background-color: var(--uh-white);
  border-color: rgba(23, 25, 27, 0.1);
  color: var(--uh-text-main);
  box-shadow: var(--uh-shadow-light);
}

.uh-section--offwhite .uh-card:hover {
  border-color: var(--uh-text-main);
}

.uh-vehicle-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.uh-vehicle-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--uh-border);
}

.uh-vehicle-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.uh-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.uh-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--uh-offwhite);
}

.uh-section--offwhite .uh-pill {
  background: var(--uh-offwhite);
  color: var(--uh-text-main);
}

/* Route Filter Tabs */
.uh-route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.uh-route-tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--uh-font-heading);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid rgba(23, 25, 27, 0.18);
  background: var(--uh-white);
  color: var(--uh-text-main);
}

.uh-route-tab.is-active,
.uh-route-tab:hover {
  background: var(--uh-bg-primary);
  color: var(--uh-yellow);
  border-color: var(--uh-bg-primary);
}

/* FAQ Accordions */
.uh-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uh-faq-item {
  border: 1px solid var(--uh-border);
  border-radius: 12px;
  background: var(--uh-bg-card);
  overflow: hidden;
}

.uh-section--offwhite .uh-faq-item {
  background: var(--uh-white);
  border-color: rgba(23, 25, 27, 0.12);
}

.uh-faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: inherit;
  font-family: var(--uh-font-heading);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.uh-faq-answer {
  padding: 0 24px 20px;
  color: var(--uh-text-muted);
  font-size: 15.5px;
  line-height: 1.65;
  display: none;
}

.uh-section--offwhite .uh-faq-answer {
  color: #4A4D50;
}

.uh-faq-item.is-open .uh-faq-answer {
  display: block;
}

.uh-faq-item.is-open {
  border-color: var(--uh-yellow);
}

/* Footer */
.uh-site-footer {
  background-color: var(--uh-bg-primary);
  border-top: 1px solid var(--uh-border);
  padding: 72px 0 36px;
  color: var(--uh-text-muted);
}

.uh-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.uh-footer-col h4 {
  color: var(--uh-white);
  font-size: 15px;
  margin-bottom: 18px;
}

.uh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uh-footer-links a {
  color: var(--uh-text-muted);
  font-size: 14px;
}

.uh-footer-links a:hover {
  color: var(--uh-yellow);
}
