@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* ── Color Palette: Royal Ivory & Gold ── */
  --primary:         #B1976B; /* Champagne Gold */
  --accent:          #D4AF37; /* Royal Gold */
  --accent-dark:     #A68A2D;
  --accent-light:    #F1E4C1;
  
  --white:           #FFFFFF;
  --bg-body:         #FFFFFF;
  --bg-surface:      #FDFDFB; /* Ivory Surface */
  --bg-muted:        #F8F8F6;
  
  --gold:            #D4AF37; /* Compatibility alias */
  --navy:            #0C1D36; /* Hidden from white theme but kept for reference */
  --navy-border:     #EAEAEA;
  
  --text-main:       #1A1A1A; /* Sharp Black */
  --text-muted:      #666666;
  --text-light:      #999999;
  
  --success:         #059669;
  --danger:          #DC2626;
  --warning:         #D97706;
  
  /* Borders & Shadows */
  --border:          #EAEAEA;
  --border-gold:     #D4AF37;
  --radius-sm:       4px;
  --radius:          8px;
  --radius-lg:       12px;
  
  --shadow-sm:       0 2px 4px rgba(0,0,0,0.02);
  --shadow:          0 4px 20px rgba(0,0,0,0.05);
  --shadow-lg:       0 10px 40px rgba(0,0,0,0.08);
  
  --trans:           all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-height:   80px;
  
  /* Fonts */
  --font-main:       'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-luxury:     'Cormorant Garamond', Georgia, serif;
  --font-ar:         'Cairo', 'Plus Jakarta Sans', sans-serif;
}

/* ────────────────────────────────────────────────
   BASE & RESET
   ──────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}
/* Arabic font on body/text only — never apply Cairo to <i> icons (Font Awesome breaks) */
[dir="rtl"] body {
  font-family: var(--font-ar);
  letter-spacing: 0;
}
a { text-decoration: none; color: inherit; transition: var(--trans); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.text-center { text-align: center; }
.section-label { 
  display: block; text-transform: uppercase; letter-spacing: 0.2em; 
  font-weight: 700; font-size: 0.75rem; color: var(--primary); 
  margin-bottom: 12px;
}
h2 { 
  font-family: var(--font-luxury); font-size: 3rem; 
  font-weight: 700; color: var(--text-main); 
  margin-bottom: 24px; line-height: 1.1;
  letter-spacing: -0.02em;
}
[dir="rtl"] h2 {
  font-family: var(--font-ar);
  font-weight: 800;
  letter-spacing: 0;
}

/* ────────────────────────────────────────────────
   NAVBAR (Ultra-Premium Glassmorphism)
   ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; align-items: center;
}
.navbar.scrolled {
  height: 70px; background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-bottom: 1px solid rgba(212,175,55,0.15);
}
.navbar-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.navbar-links { display: flex; gap: 40px; }
.navbar-links a { 
  font-size: 0.9rem; font-weight: 600; color: var(--text-main); 
  padding: 8px 0; border-bottom: 2px solid transparent; text-transform: uppercase; letter-spacing: 0.05em;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.navbar-actions { display: flex; align-items: center; gap: 20px; }
.lang-toggle { 
  background: var(--bg-muted); color: var(--text-main); 
  padding: 8px 16px; border-radius: var(--radius-sm); 
  font-weight: 700; cursor: pointer; border: 1px solid var(--border);
}

/* ────────────────────────────────────────────────
   HERO (Pristine & Airy)
   ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 90vh; background: var(--bg-surface);
  display: flex; align-items: center; padding-top: var(--navbar-height);
}
.hero-content { max-width: 700px; position: relative; z-index: 10; padding-right: 50px; }
[dir="rtl"] .hero-content { padding-right: 0; padding-left: 50px; }
.hero-title { font-family: var(--font-luxury); font-size: 5rem; line-height: 1; margin-bottom: 24px; color: var(--text-main); }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; }

.hero-img {
  position: absolute; top: 10%; right: 0; width: 45%; height: 80%;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
[dir="rtl"] .hero-img { right: auto; left: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* 4D Carousel - Ken Burns Effect */
.ken-burns {
    animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -2%); }
}

.hero-slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 20;
    color: var(--white);
}

.parallax-bg {
    position: absolute;
    left: 0; top: 0; width: 130%; height: 100%;
    background-size: cover;
    background-position: center;
}

/* ────────────────────────────────────────────────
   PAGE HEADERS (Luxury Airy)
   ──────────────────────────────────────────────── */
.page-header {
  padding: 160px 0 80px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-luxury);
  font-size: 3.5rem;
  margin-top: 16px;
  color: var(--text-main);
}

/* ────────────────────────────────────────────────
   MODAL REFINEMENT
   ──────────────────────────────────────────────── */
.modal-overlay { 
  position: fixed; inset: 0; background: rgba(26,26,26,0.4); backdrop-filter: blur(12px);
  z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box { 
  background: var(--white); border-radius: 0; padding: 60px; 
  width: 100%; max-width: 600px; box-shadow: var(--shadow-lg); 
  border: 1px solid var(--border-gold); position: relative;
}
.modal-header { margin-bottom: 32px; }
.modal-close {
  position: absolute; top: 24px; right: 24px; background: none;
  font-size: 1.5rem; color: var(--text-muted); cursor: pointer; transition: var(--trans);
}
.modal-close:hover { color: var(--accent); transform: rotate(90deg); }

.visa-price-row { 
  background: var(--bg-muted); padding: 24px; margin-bottom: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.doc-list li { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-muted); position: relative; padding-left: 20px; }
.doc-list li:before { content: '•'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ────────────────────────────────────────────────
   BUTTONS (Elevated Luxury)
   ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px; border-radius: 8px; font-weight: 700; 
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem;
  cursor: pointer; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); border: 2px solid transparent;
}
.btn-primary { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); 
  color: var(--white); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover { 
  transform: translateY(-4px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5); border-color: transparent;
}

.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* ────────────────────────────────────────────────
   CARDS (Premium Depth & Floating Interactions)
   ──────────────────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px;
}
.card {
  background: var(--white); border: 1px solid rgba(0,0,0,0.03);
  border-radius: 20px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-12px); border-color: rgba(212,175,55,0.2); box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.card-img { height: 260px; overflow: hidden; background: var(--bg-muted); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--trans); }
.card:hover .card-img img { transform: scale(1.1); }

.card-body { padding: 32px; border-top: 1px solid var(--border); }
.card-label { 
  font-size: 0.7rem; font-weight: 800; color: var(--accent); 
  text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.1em;
}
.card-title { font-family: var(--font-luxury); font-size: 1.5rem; margin-bottom: 16px; color: var(--text-main); }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.card-price { font-size: 1.4rem; font-weight: 800; color: var(--text-main); }

/* ────────────────────────────────────────────────
   VISA COUNTRY CARDS
   ──────────────────────────────────────────────── */
.country-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.country-card {
  background: var(--white); border: 1px solid var(--border); padding: 24px;
  display: flex; align-items: center; gap: 20px; cursor: pointer; transition: var(--trans);
}
.country-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow); }
.country-flag { font-size: 2.5rem; }
.country-name { font-weight: 700; font-size: 1.1rem; }

/* ────────────────────────────────────────────────
   FOOTER (Formal White)
   ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface); color: var(--text-main);
  padding: 80px 0 40px; border-top: 1px solid var(--border);
}
.bg-dark { background-color: #1A1A1A !important; }
.text-white { color: #FFFFFF !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.6) !important; }
.text-gold { color: var(--accent) !important; }
.border-secondary { border-color: rgba(255, 255, 255, 0.1) !important; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px;
}
.footer-logo img { height: 60px; margin-bottom: 24px; }
.footer-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.footer-links h4 { 
  font-size: 0.9rem; font-weight: 800; color: var(--text-main); 
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-bottom { 
  border-top: 1px solid var(--border); padding-top: 40px; 
  text-align: center; font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.05em;
}

/* ────────────────────────────────────────────────
   UTILITIES & ANIMATIONS
   ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: var(--trans); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Search Bar (Floating luxury) */
.search-bar {
  background: var(--white); border: 1px solid var(--border); 
  padding: 8px; border-radius: 0; display: flex; align-items: center;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 600px;
}
.search-bar input { flex: 1; padding: 12px 20px; font-size: 1rem; }
.search-bar button { height: 50px; padding: 0 30px; }

/* Spinner */
.spinner { width:40px; height:40px; border:3px solid var(--bg-muted); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-img { display: none; }
  .hero-content { max-width: 100%; padding: 0; text-align: center; }
  .hero-title { font-size: 3.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h2 { font-size: 2.2rem; }
  .navbar-links { display: none; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
}

/* ── Navbar Actions & Lang Toggle ── */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
    text-transform: uppercase;
}

.lang-toggle:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(177, 151, 107, 0.3);
}

@media (max-width: 991px) {
    .navbar-actions { margin-left: auto; margin-right: 15px; }
}

/* ── Floating WhatsApp Button ── */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    transition: var(--trans);
    text-decoration: none;
}
.float-wa:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}
[dir="rtl"] .float-wa {
    right: auto;
    left: 30px;
}

/* ── Trust Strip (Airlines) ── */
.trust-strip {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.trust-logo {
    height: 35px;
    width: auto;
    max-width: 200px;
    min-width: 72px;
    object-fit: contain;
    display: block;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.trust-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* ── Mobile Dropdown Navigation ── */
.mobile-nav {
    position: fixed;
    top: -100%; /* Hidden above */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px 20px 60px;
    display: block;
}
.mobile-nav.open {
    top: var(--navbar-height);
}
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    display: none;
    transition: opacity 0.4s ease;
}
.mobile-nav.open + .mobile-nav-backdrop {
    display: block;
    opacity: 1;
}
.mobile-nav-link {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-luxury);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 25px;
    transition: var(--trans);
}
.mobile-nav-link:hover {
    color: var(--accent);
}
.mobile-nav-link.active {
    color: var(--accent);
}
.mobile-page-select { display: none; }
@media (max-width: 991px) {
    .navbar-links { display: none; }
    .navbar-inner {
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
    }
    .navbar-logo { flex-shrink: 0; }
    .mobile-page-select {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        max-width: min(52vw, 220px);
        padding: 10px 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.82rem;
        font-family: var(--font-main);
        background: var(--bg-muted);
        color: var(--text-main);
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 32px;
    }
    [dir="rtl"] .mobile-page-select {
        direction: rtl;
        text-align: right;
        background-position: left 12px center;
        padding-right: 12px;
        padding-left: 32px;
    }
    .navbar-actions {
        flex-shrink: 0;
        gap: 8px;
    }
    .navbar-actions .btn-sm {
        padding: 8px 12px;
        font-size: 0.68rem;
    }
    .hamburger { display: none !important; }
    .trust-logo { height: 25px; }
}

/* ── End of Main CSS ── */

