/* ===== VARIABLES ===== */
:root {
  --azure: #0EA5E9;
  --azure-dark: #0284C7;
  --azure-light: #38BDF8;
  --azure-50: #F0F9FF;
  --azure-100: #E0F2FE;
  --gold: #D4A853;
  --gold-light: #E8C97A;
  --text: #1E293B;
  --text-light: #64748B;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-arabic: 'Noto Sans Arabic', 'Inter', sans-serif;
  --container: 1200px;
  --header-h: 90px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* Arabic RTL */
[dir="rtl"] body { font-family: var(--font-arabic); }
[dir="rtl"] .about__inner { direction: rtl; }
[dir="rtl"] .highlight { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .contact__methods .contact-method { flex-direction: row-reverse; text-align: right; }

/* ===== UTILITIES ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: var(--transition);
  text-align: center; justify-content: center;
}
.btn--primary {
  background: var(--azure); color: var(--white);
}
.btn--primary:hover { background: var(--azure-dark); transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--azure);
  border: 2px solid var(--azure);
}
.btn--outline:hover { background: var(--azure); color: var(--white); }
.btn--whatsapp { background: #25D366; color: var(--white); }
.btn--whatsapp:hover { background: #1EBE57; transform: translateY(-1px); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}
.section__subtitle {
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header--scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex; align-items: center;
}
.header__logo-img {
  height: 200px; width: auto; max-width: 200px;
}

.header__nav { display: flex; gap: 28px; }
.nav__link {
  font-size: 0.9rem; font-weight: 500; color: var(--text-light);
  transition: var(--transition); position: relative;
}
.nav__link:hover { color: var(--azure); }
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--azure);
  transition: var(--transition);
}
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--bg-alt); background: var(--white);
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
  color: var(--text-light); transition: var(--transition);
}
.lang-btn.active { background: var(--azure); color: var(--white); border-color: var(--azure); }
.lang-btn:hover:not(.active) { border-color: var(--azure); color: var(--azure); }

.header__cta { padding: 8px 16px; font-size: 0.85rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: url('../images/hero.jpg') center/cover no-repeat;
  margin-top: var(--header-h);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.85) 0%, rgba(2,132,199,0.75) 50%, rgba(30,41,59,0.7) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  color: var(--white);
  padding: 80px 0;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 36px;
}
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; opacity: 0.9;
}

/* ===== SERVICES ===== */
.services { padding: 96px 0; background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__image { height: 200px; overflow: hidden; }
.service-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__image img { transform: scale(1.05); }
.service-card__body { padding: 24px; }
.service-card__title {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.service-card__desc {
  font-size: 0.9rem; color: var(--text-light);
  margin-bottom: 16px; line-height: 1.5;
}
.service-card__price { margin-bottom: 16px; }
.price__amount {
  font-size: 1.5rem; font-weight: 700; color: var(--azure);
}
.price__per { font-size: 0.85rem; color: var(--text-light); }
.price__label {
  font-size: 1rem; font-weight: 600; color: var(--gold);
}

.services__custom {
  text-align: center;
  background: var(--azure-50);
  border: 2px dashed var(--azure-light);
  border-radius: var(--radius);
  padding: 36px;
}
.services__custom p { margin-bottom: 20px; font-size: 1.05rem; }

/* ===== ABOUT ===== */
.about { padding: 96px 0; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about__image { border-radius: var(--radius); overflow: hidden; }
.about__image img { width: 100%; height: auto; object-fit: cover; }
.about__text .section__title { text-align: left; }
.about__text p { margin-bottom: 16px; color: var(--text-light); }

.about__highlights { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.highlight {
  display: flex; gap: 16px; align-items: flex-start;
}
.highlight svg { flex-shrink: 0; color: var(--azure); margin-top: 2px; }
.highlight strong { display: block; margin-bottom: 4px; }
.highlight p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

/* ===== FLEET ===== */
.fleet { padding: 96px 0; background: var(--bg); }
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.fleet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fleet-card img { width: 100%; height: 220px; object-fit: cover; }
.fleet-card h3 { padding: 20px 20px 8px; font-size: 1.1rem; color: var(--text); }
.fleet-card p { padding: 0 20px 24px; font-size: 0.9rem; color: var(--text-light); }

/* ===== GALLERY ===== */
.gallery { padding: 96px 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__grid img {
  width: 100%; height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.gallery__grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* ===== CONTACT ===== */
.contact { padding: 96px 0; background: var(--bg); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__info .section__title { text-align: left; }
.contact__info > p { color: var(--text-light); margin-bottom: 32px; }

.contact__methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.contact-method:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.contact-method svg { color: var(--azure); flex-shrink: 0; }
.contact-method strong { display: block; font-size: 0.85rem; color: var(--text-light); }
.contact-method span { display: block; font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-method span[data-i18n="contact_phone_or"] { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }

.contact__form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  padding: 12px 16px;
  border: 1px solid var(--bg-alt);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px var(--azure-100);
}

/* ===== FACEBOOK BANNER ===== */
.fb-banner {
  background: #1877F2; color: #fff; padding: 32px 0;
}
.fb-banner__inner {
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.fb-banner__icon { flex-shrink: 0; }
.fb-banner__text {
  display: flex; flex-direction: column; gap: 4px;
}
.fb-banner__text strong { font-size: 1.2rem; }
.fb-banner__text span { font-size: 0.95rem; opacity: 0.9; }
.fb-banner__btn {
  background: #fff; color: #1877F2; font-weight: 600;
  padding: 12px 28px; border-radius: var(--radius);
  transition: var(--transition);
}
.fb-banner__btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer { background: #0EA5E9; color: rgba(255,255,255,0.9); padding: 48px 0 0; text-align: center; }
.footer__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer__logo-img {
  height: 250px; width: auto; max-width: 90%;
  display: block;
  margin: -60px auto -50px;
  filter: brightness(0) invert(1);
}
.footer__brand { text-align: center; margin-bottom: 32px; }
.footer__tagline { margin-top: 8px; font-size: 1rem; max-width: 400px; margin-left: auto; margin-right: auto; }
.footer__nav-row {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
}
.footer__nav-row a {
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.footer__nav-row a:hover { color: #fff; }
.footer__bottom {
  padding: 20px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ===== MODALS ===== */
.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.active { display: flex; }
.modal__content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal__close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none;
  font-size: 2rem; cursor: pointer;
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__text .section__title { text-align: center; }
  .contact__inner { grid-template-columns: 1fr; }
  .fleet__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header__nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hamburger { display: flex; }
  .header__cta { display: none; }
  .header__logo-img { height: 120px; }

  .hero { min-height: 90vh; }
  .hero__title { font-size: 1.8rem; }
  .hero__buttons { flex-direction: column; }
  .hero__trust { flex-direction: column; gap: 12px; }

  .services__grid { grid-template-columns: 1fr; }
  .fleet__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__logo-img { height: 70px; margin: 0 auto 16px; }
  .footer__nav-row { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .lang-btn { padding: 3px 8px; font-size: 0.7rem; }
  .header__logo-img { height: 90px; }
  .footer__logo-img { height: 60px; margin: 0 auto 12px; }
  .footer__nav-row { flex-direction: column; gap: 12px; align-items: center; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}
