/* ── VARIABLES ── */
:root {
  --navy: #0f1829;
  --navy-mid: #1a2240;
  --navy-light: #1f2d50;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --off-white: #f5f3ee;
  --text-muted: #8a9bb5;
  --transition: all 0.35s ease;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Montserrat', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── RTL SUPPORT ── */
body.rtl { direction: rtl; font-family: 'Tajawal', sans-serif; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .stat { border-left: none; border-right: 2px solid var(--gold); padding-left: 0; padding-right: 16px; }
body.rtl .contact-item { flex-direction: row-reverse; }
body.rtl .process-step { text-align: right; }
body.rtl .step-number { margin-right: 0; margin-left: 16px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 6vw;
  background: rgba(15,24,41,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
.nav-logo img { height: 40px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--off-white); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.lang-switcher {
  display: flex; gap: 6px; align-items: center;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px; padding: 4px 8px;
}
.lang-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: 0.68rem; letter-spacing: 0.1em; cursor: pointer;
  padding: 3px 8px; border-radius: 14px; transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
}
.lang-btn.active { background: var(--gold); color: var(--navy); font-weight: 600; }

/* ── HERO ── */
#home {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 0 8vw 100px;
  background: url('hero.png') center center/cover no-repeat;
  position: relative;
}
#home::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,16,35,0.85) 40%, rgba(10,16,35,0.2) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hero-tagline { font-size: 0.9rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 40px; max-width: 480px; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s; }
.hero-content.visible .hero-eyebrow,
.hero-content.visible .hero-tagline,
.hero-content.visible .hero-cta { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; padding: 14px 36px; border: 1px solid var(--gold); color: var(--gold); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; transition: var(--transition); cursor: pointer; background: none; font-family: 'Montserrat', sans-serif; }
.btn-primary:hover { background: var(--gold); color: var(--navy); }
.btn-secondary { display: inline-block; padding: 14px 36px; background: rgba(255,255,255,0.08); color: var(--white); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; transition: var(--transition); border: 1px solid rgba(255,255,255,0.15); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* ── SECTION COMMONS ── */
section { padding: 110px 6vw; }
.section-eyebrow { font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 300; line-height: 1.15; margin-bottom: 18px; }
.section-body { font-size: 0.88rem; color: var(--text-muted); line-height: 1.95; max-width: 580px; }
.divider-gold { width: 56px; height: 1px; background: var(--gold); margin: 20px 0; }
.divider-center { margin: 20px auto; }
.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

/* ── ABOUT ── */
#about { background: #0d1526; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image img { width: 100%; border: 1px solid rgba(201,168,76,0.2); }
.about-stat-block { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 5px; }

/* ── SERVICES ── */
#services { background: var(--navy-mid); padding-bottom: 140px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: rgba(201,168,76,0.08); margin-top: 60px; }
.service-card { background: var(--navy-mid); padding: 48px 38px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.service-card:hover { background: var(--navy-light); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 22px; }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 14px; }
.service-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.85; }

/* ── PROCESS ── */
#process { background: #0d1526; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 60px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 0; right: 0; height: 1px; background: rgba(201,168,76,0.2); z-index: 0; }
.process-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.step-number { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--gold); background: #0d1526; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold-light); margin-bottom: 10px; }
.step-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; }

/* ── INDUSTRIES ── */
#industries { background: var(--navy); }
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 60px; }
.industry-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.12); padding: 32px 20px; text-align: center; transition: var(--transition); cursor: default; }
.industry-card:hover { background: rgba(201,168,76,0.07); border-color: var(--gold); transform: translateY(-4px); }
.industry-icon { font-size: 2.2rem; margin-bottom: 16px; }
.industry-name { font-size: 0.78rem; color: var(--off-white); letter-spacing: 0.08em; line-height: 1.5; }

/* ── WHY CHOOSE US ── */
#why { background: #0d1526; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 0; }
.why-list { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; align-items: flex-start; gap: 16px; }
.why-check { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.why-text { font-size: 0.88rem; color: var(--off-white); line-height: 1.7; }
.why-text strong { color: var(--gold-light); display: block; font-size: 0.92rem; margin-bottom: 3px; }
.why-image img { width: 100%; border: 1px solid rgba(201,168,76,0.2); }

/* ── CANTON FAIR ── */
#canton { background: var(--navy-mid); text-align: center; }
.canton-content { max-width: 720px; margin: 0 auto; }
.canton-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.canton-badge { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.25); padding: 12px 24px; font-size: 0.75rem; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; }
.canton-cta { margin-top: 40px; }

/* ── CONTACT ── */
#contact { background: #0d1526; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon { color: var(--gold); font-size: 1rem; margin-top: 3px; min-width: 22px; }
.contact-detail { font-size: 0.85rem; color: var(--off-white); line-height: 1.7; }
.contact-detail span { display: block; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.social-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgba(201,168,76,0.25); color: var(--off-white); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; transition: var(--transition); }
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.wechat-qr { margin-top: 24px; }
.wechat-qr img { width: 140px; border: 1px solid rgba(201,168,76,0.2); padding: 8px; background: white; }
.wechat-qr p { font-size: 0.68rem; color: var(--text-muted); margin-top: 8px; letter-spacing: 0.1em; }
.map-embed { margin-top: 24px; border: 1px solid rgba(201,168,76,0.2); overflow: hidden; }
.map-embed iframe { width: 100%; height: 220px; border: none; filter: grayscale(30%) contrast(1.1); }
.form-group { margin-bottom: 18px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.18); color: var(--white); padding: 14px 18px; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 130px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

/* ── FOOTER ── */
footer { background: #070e1c; padding: 48px 6vw 32px; border-top: 1px solid rgba(201,168,76,0.12); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-logo img { height: 36px; margin-bottom: 12px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; color: var(--gold); letter-spacing: 0.2em; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.7rem; color: var(--text-muted); }

/* ── RESPONSIVE ── */
/* ── HAMBURGER MENU ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(15,24,41,0.98); backdrop-filter: blur(12px);
  flex-direction: column; padding: 24px 6vw; gap: 20px; z-index: 999;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--off-white); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-lang { display: flex; gap: 8px; margin-top: 8px; }

@media (max-width: 900px) {
  /* Layout */
  #about, #contact, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 70px 5vw; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  #home { align-items: center; justify-content: center; text-align: center; padding: 100px 5vw 60px; min-height: 100svh; }
  #home::before { background: rgba(10,16,35,0.75); }
  .hero-content { max-width: 100%; }
  .hero-content.visible .hero-eyebrow,
  .hero-content.visible .hero-tagline,
  .hero-content.visible .hero-cta { opacity: 1; transform: none; }
  .hero-eyebrow, .hero-tagline, .hero-cta { opacity: 1; transform: none; }
  .hero-cta { justify-content: center; flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }

  /* About */
  .about-stat-block { grid-template-columns: 1fr 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  /* Industries */
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Why */
  .why-image { display: none; }

  /* Canton */
  .canton-badges { flex-direction: column; align-items: center; }

  /* Contact */
  .map-embed iframe { height: 180px; }
  .social-row { flex-direction: column; }
  .social-btn { text-align: center; justify-content: center; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-block { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.8rem; }
}

/* ── SOCIAL BAR ── */
.social-bar {
  background: #070e1c;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 32px 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.social-bar-text {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.social-icons { display: flex; gap: 20px; align-items: center; }
.soc-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.25);
  transition: all 0.3s; padding: 12px;
  color: var(--text-muted);
}
.soc-icon svg { width: 100%; height: 100%; }
.soc-icon.facebook:hover { background: #1877f2; border-color: #1877f2; color: white; }
.soc-icon.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #e6683c; color: white; }
.soc-icon.whatsapp:hover { background: #25d366; border-color: #25d366; color: white; }
