/* اليامي للسفر - نظام التصميم الفاخر */
:root {
  --gold: #d4af5f;
  --gold-light: #f0d089;
  --gold-dark: #a08234;
  --navy: #0a1e3d;
  --navy-light: #15315f;
  --black: #050d1c;
  --dark: #0a1729;
  --gray: #14233a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --text: #e6e6e6;
  --text-muted: #9aa5b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold-light); }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: fixed; top: 0; right: 0; left: 0;
  background: rgba(5,13,28,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,95,0.3);
  z-index: 1000;
  padding: 8px 0;
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  display: flex; align-items: center; gap: 14px;
}
.logo img {
  height: 90px; width: auto; display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 14px rgba(212,175,95,0.55)) brightness(1.05) contrast(1.08);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.logo:hover img { transform: scale(1.05); filter: drop-shadow(0 0 22px rgba(240,208,137,0.8)) brightness(1.1) contrast(1.1); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-size: 28px; font-weight: 900; letter-spacing: 3px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(212,175,95,0.2);
}
.logo-text small { color: var(--gold); font-weight: 600; font-size: 11px; letter-spacing: 3px; margin-top: 6px; text-transform: uppercase; }

/* Phone numbers always LTR */
a[href^="tel:"], .dept-person a, .contact-item strong a {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.dept-person a { font-family: 'Courier New', monospace; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 15px; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; right: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black) !important; padding: 12px 28px; border-radius: 50px;
  font-weight: 700;
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--gold);
  border-radius: 50px; color: var(--gold) !important;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
}
.lang-switch:hover { background: var(--gold); color: var(--black) !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,169,97,0.3); }
.mobile-toggle { display: none; background: none; border: 0; color: var(--gold); font-size: 28px; cursor: pointer; }

/* Hero with Slideshow */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding-top: 80px;
  overflow: hidden;
  background: var(--black);
}
.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: heroSlide 32s linear infinite;
  transition: opacity 1.5s ease;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,13,28,0.85), rgba(10,30,61,0.65));
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }
@keyframes heroSlide {
  0% { opacity: 0; transform: scale(1.1); }
  3% { opacity: 1; transform: scale(1.08); }
  25% { opacity: 1; transform: scale(1); }
  28% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
.hero .container { position: relative; z-index: 2; }

/* Hero slide indicators */
.hero-dots {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; gap: 10px;
}
.hero-dots span {
  width: 32px; height: 3px; background: rgba(255,255,255,0.3);
  border-radius: 2px; position: relative; overflow: hidden;
}
.hero-dots span::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: dotProgress 8s linear infinite;
}
.hero-dots span:nth-child(1)::after { animation-delay: 0s; }
.hero-dots span:nth-child(2)::after { animation-delay: 8s; }
.hero-dots span:nth-child(3)::after { animation-delay: 16s; }
.hero-dots span:nth-child(4)::after { animation-delay: 24s; }
@keyframes dotProgress {
  0%, 100% { transform: scaleX(0); }
  3.125%, 25% { transform: scaleX(1); }
  28.125%, 100% { transform: scaleX(0); }
}

/* Currency Switcher */
.currency-switcher {
  position: fixed; top: 90px; left: 24px; z-index: 998;
  background: rgba(5,13,28,0.95); backdrop-filter: blur(10px);
  border: 1px solid var(--gold); border-radius: 50px;
  padding: 6px; display: flex; gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.currency-switcher button {
  background: transparent; border: 0; color: var(--text-muted);
  padding: 8px 14px; border-radius: 50px;
  font-family: inherit; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: 0.3s;
  display: flex; align-items: center; gap: 4px;
}
.currency-switcher button:hover { color: var(--gold); }
.currency-switcher button.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
}
@media (max-width: 600px) {
  .currency-switcher { top: auto; bottom: 90px; left: 24px; }
  .currency-switcher button { padding: 6px 10px; font-size: 11px; }
}

/* Premium Service Icons */
.service-icon {
  position: relative; overflow: hidden;
}
.service-icon::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.3), transparent);
}
.service-card.premium {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--gray), var(--dark));
  position: relative;
}
.service-card.premium::before {
  content: 'VIP'; position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); font-size: 10px; font-weight: 900;
  padding: 4px 10px; border-radius: 50px; letter-spacing: 2px;
}
.service-card.premium .service-icon {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  box-shadow: 0 8px 24px rgba(212,175,95,0.4);
}
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-block; padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 50px; color: var(--gold);
  font-size: 13px; letter-spacing: 2px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px); font-weight: 900;
  color: var(--white); line-height: 1.2; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 19px; color: var(--text); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 16px 36px; border-radius: 50px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 0;
  transition: 0.3s; letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(201,169,97,0.4); color: var(--black); }
.btn-outline {
  background: transparent; color: var(--gold); border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

/* Sections */
section { padding: 100px 0; }
.section-title {
  text-align: center; margin-bottom: 64px;
}
.section-title small {
  display: block; color: var(--gold); font-size: 14px;
  letter-spacing: 4px; margin-bottom: 12px;
}
.section-title h2 {
  font-size: clamp(32px, 5vw, 48px); color: var(--white); font-weight: 800;
}

/* Stats */
.stats { background: var(--dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; text-align: center;
}
.stat-num {
  font-size: 56px; font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); font-size: 14px; letter-spacing: 2px; }

/* Services */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.service-card {
  background: linear-gradient(135deg, var(--dark), var(--gray));
  padding: 40px 32px; border-radius: 16px;
  border: 1px solid rgba(201,169,97,0.15);
  transition: 0.4s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: right; transition: 0.4s;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 24px;
}
.service-card h3 { color: var(--white); font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; }

/* Destinations */
.dest-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.dest-card {
  position: relative; height: 380px; border-radius: 16px;
  overflow: hidden; cursor: pointer;
}
.dest-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: 0.6s;
}
.dest-card:hover img { transform: scale(1.1); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.dest-overlay h3 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.dest-overlay p { color: var(--gold); font-size: 14px; }
.dest-price { color: var(--gold-light); font-weight: 700; margin-top: 8px; }

/* Offers */
.offer-card {
  background: linear-gradient(135deg, var(--dark), var(--gray));
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(201,169,97,0.2);
  display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 32px; transition: 0.4s;
}
.offer-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.offer-img { height: 320px; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.offer-tag {
  display: inline-block; background: var(--gold); color: var(--black);
  padding: 4px 14px; border-radius: 50px; font-size: 12px;
  font-weight: 700; margin-bottom: 16px; width: fit-content;
}
.offer-body h3 { color: var(--white); font-size: 28px; margin-bottom: 12px; }
.offer-body p { color: var(--text-muted); margin-bottom: 20px; }
.offer-price { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.offer-price .new { color: var(--gold); font-size: 32px; font-weight: 900; }
.offer-price .old { color: var(--text-muted); text-decoration: line-through; }

/* Contact form */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--dark); padding: 48px; border-radius: 20px;
  border: 1px solid rgba(201,169,97,0.15);
}
.contact-info h3 { color: var(--white); font-size: 28px; margin-bottom: 20px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
  padding: 16px; background: var(--gray); border-radius: 12px;
  border: 1px solid rgba(201,169,97,0.1);
}
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--black); font-size: 20px; flex-shrink: 0;
}
.contact-item small { display: block; color: var(--text-muted); font-size: 12px; }
.contact-item strong { color: var(--white); font-size: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; color: var(--gold); font-size: 14px;
  margin-bottom: 8px; font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--gray); border: 1px solid rgba(201,169,97,0.2);
  border-radius: 12px; color: var(--white);
  font-family: inherit; font-size: 15px;
  transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 0; border-color: var(--gold); background: var(--dark);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer {
  background: var(--dark); padding: 64px 0 24px;
  border-top: 1px solid rgba(201,169,97,0.2);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-col h4 {
  color: var(--gold); font-size: 16px; margin-bottom: 20px;
  letter-spacing: 2px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); font-size: 14px; }
.footer-col ul a:hover { color: var(--gold); }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gray); display: flex; align-items: center; justify-content: center;
  color: var(--gold); border: 1px solid rgba(201,169,97,0.2);
}
.social a:hover { background: var(--gold); color: var(--black); }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid rgba(201,169,97,0.1);
  color: var(--text-muted); font-size: 13px;
}

/* Page hero (inner pages) */
.page-hero {
  min-height: 50vh; display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.85), rgba(10,10,10,0.7)),
    url('https://images.unsplash.com/photo-1542038784456-1ea8e935640e?w=1920&q=80') center/cover;
  padding-top: 100px; text-align: center;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px); color: var(--white);
  font-weight: 900; margin-bottom: 16px;
}
.page-hero p { color: var(--gold); font-size: 18px; letter-spacing: 2px; }

/* Music Player */
.music-toggle {
  position: fixed; bottom: 24px; left: 100px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--black); font-size: 22px; z-index: 999;
  box-shadow: 0 10px 30px rgba(212,175,95,0.4);
  cursor: pointer; border: 0;
  transition: 0.3s;
}
.music-toggle:hover { transform: scale(1.1) rotate(15deg); }
.music-toggle.playing { animation: spin 8s linear infinite; }
.music-toggle.playing::after {
  content: ''; position: absolute; inset: -6px;
  border: 2px solid var(--gold); border-radius: 50%;
  border-top-color: transparent;
  animation: spin 2s linear infinite reverse;
}
@keyframes spin { from {transform: rotate(0);} to {transform: rotate(360deg);} }

.music-tooltip {
  position: fixed; bottom: 100px; left: 24px;
  background: var(--dark); color: var(--gold);
  padding: 12px 18px; border-radius: 12px;
  border: 1px solid var(--gold);
  font-size: 13px; z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: bounce 2s ease-in-out infinite;
  white-space: nowrap;
}
.music-tooltip.hidden { display: none; }
.music-tooltip::after {
  content: ''; position: absolute; bottom: -8px; left: 30px;
  border: 8px solid transparent;
  border-top-color: var(--gold);
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed; bottom: 24px; left: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 30px; z-index: 999;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--dark); flex-direction: column; padding: 24px; gap: 16px;
    border-top: 1px solid rgba(201,169,97,0.2); }
  .nav-links.show { display: flex; }
  .mobile-toggle { display: block; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-img { height: 220px; }
  .contact-wrap { grid-template-columns: 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 0; }
}
