/* ===== VARIABLES ===== */
:root {
  --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --color-bg-dark: #141210;
  --color-bg-dark-2: #1a1714;
  --color-bg-cream: #f5f1e8;
  --color-gold: #c9a55c;
  --color-gold-light: #e8d4a0;
  --color-text-light: #f5f1e8;
  --color-text-dark: #2a2620;
  --color-text-muted: #a39c8c;
  --color-text-muted-dark: #6b6355;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.label-gold {
  font-family: var(--font-body);
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.label-gold.small { font-size: 0.72rem; letter-spacing: 0.2em; margin-bottom: 10px; }
.icon-label { display: inline-flex; align-items: center; gap: 8px; }
.icon-label svg { color: var(--color-gold); flex-shrink: 0; }

.gold-text {
  font-variant: small-caps;
  background: linear-gradient(180deg, #f8ecc9 0%, #e3c07a 22%, #c9a55c 48%, #9a7638 65%, #d4af6a 85%, #f3e2b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.white-text { color: var(--color-text-light); }

.gold-gradient-text {
  background: linear-gradient(135deg, #c9a55c, #e8d4a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: linear-gradient(to bottom, rgba(6,8,8,0.88) 0%, rgba(6,8,8,0.7) 70%, rgba(6,8,8,0.35) 100%);
  transition: background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10,12,12,0.95);
  backdrop-filter: blur(6px);
  padding: 12px 40px;
}
.logo { display: flex; align-items: center; gap: 14px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.logo-mark { width: 56px; height: 28px; object-fit: contain; flex-shrink: 0; }
.logo-text-small { display: none; flex-direction: column; line-height: 1.15; }
.logo-text-small strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.logo-text-small small {
  font-family: var(--font-body);
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.logo-text-small em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.36rem;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-top: 2px;
}
.logo-divider { display: none; width: 1px; height: 34px; background: rgba(201,165,92,0.4); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold-light);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.menu-bars { display: flex; flex-direction: column; gap: 4px; }
.menu-bars i { display: block; width: 20px; height: 1.5px; background: var(--color-text-light); }

/* ===== MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,10,8,0.98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-close {
  position: absolute;
  top: 24px; right: 34px;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.menu-links { text-align: center; }
.menu-links li { margin: 22px 0; }
.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--color-text-light);
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--color-gold); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.85) hue-rotate(-6deg);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,14,0.55) 0%, rgba(8,10,10,0.4) 40%, rgba(8,7,6,0.94) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
@media (min-width: 700px) {
  .logo-text-small { display: flex; }
  .logo-divider { display: block; }
}

/* ===== HERO LOCKUP (logo image) ===== */
.hero-lockup-img {
  max-width: min(720px, 90vw);
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.discover-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
}
.discover-link span:first-child {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}
.discover-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: discoverPulse 2s ease-in-out infinite;
}
@keyframes discoverPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.hero-divider {
  width: 70px;
  height: 1px;
  background: var(--color-gold);
  margin: 24px auto;
  opacity: 0.7;
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-gold-light);
  margin-bottom: 30px;
}
.hero-arabic {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 18px;
}
.hero-location {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

/* ===== ABOUT ===== */
.about {
  background: var(--color-bg-cream);
  color: var(--color-text-dark);
  padding: 100px 40px 70px;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1.1fr;
  gap: 60px;
  align-items: start;
}
.about-divider {
  background: linear-gradient(to bottom, transparent, rgba(201,165,92,0.35), transparent);
  height: 100%;
  min-height: 180px;
}
.about-heading {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--color-text-dark);
}
.about-right p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a4438;
  margin-bottom: 20px;
}
.stats-row {
  max-width: 1100px;
  margin: 60px auto 0;
  display: flex;
  gap: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(42,38,32,0.15);
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.6rem;
  color: var(--color-gold);
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted-dark);
  margin-top: 4px;
}

/* ===== WHAT WE TRADE ===== */
.trade {
  background: var(--color-bg-dark);
  padding: 100px 0 100px;
  overflow: hidden;
}
.trade-heading { padding: 0 40px; margin-bottom: 50px; text-align: left; max-width: 1100px; margin-left: auto; margin-right: auto; }

.carousel-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scrollLoop 42s linear infinite;
}
.carousel-wrap:hover .carousel-track { animation-play-state: paused; }

@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trade-card {
  position: relative;
  width: 310px;
  height: 600px;
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  filter: brightness(0.88);
  transition: filter 0.4s ease;
}
.trade-card:hover { filter: brightness(0.95); }

.trade-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,6,4,0.92) 0%, rgba(8,6,4,0.55) 38%, rgba(8,6,4,0.05) 68%, rgba(8,6,4,0) 100%);
  transition: background 0.4s ease;
}
.trade-card:hover::before {
  background: linear-gradient(to top, rgba(8,6,4,0.96) 0%, rgba(8,6,4,0.75) 45%, rgba(8,6,4,0.15) 75%, rgba(8,6,4,0.05) 100%);
}

.trade-card-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 24px;
  z-index: 2;
}
.trade-card-number {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.trade-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--color-text-light);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin-bottom: 10px;
}
.trade-card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(245,241,232,0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}
.trade-card:hover .trade-card-desc {
  max-height: 140px;
  opacity: 1;
  margin-bottom: 12px;
}
.trade-card-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.trade-card:hover .trade-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GEOGRAPHIC LEDGER ===== */
.reach {
  background: #0b0906;
  padding: 100px 0 60px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.reach-heading { margin-bottom: 20px; position: relative; z-index: 2; }
.reach-heading .section-heading { font-weight: 800; }
.map-wrap {
  width: 100%;
  max-width: 1500px;
  margin: -20px auto 0;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 44%, #000 62%, rgba(0,0,0,0.92) 85%, rgba(0,0,0,0.35) 100%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 44%, #000 62%, rgba(0,0,0,0.92) 85%, rgba(0,0,0,0.35) 100%);
}
.world-map { width: 100%; height: auto; display: block; }
#cityLights circle { animation: twinkle 3.6s ease-in-out infinite; }
#cityLights circle:nth-child(3n) { animation-duration: 4.4s; animation-delay: -1.2s; }
#cityLights circle:nth-child(5n) { animation-duration: 2.8s; animation-delay: -2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.35; }
}
.route {
  stroke-linecap: round;
}
.route-glow {
  animation: routeGlowPulse 3.4s ease-in-out infinite;
}
@keyframes routeGlowPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.48; }
}
.traveler {
  animation: travelerPulse 1.4s ease-in-out infinite;
}
@keyframes travelerPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.city-dot {
  animation: dotPulse 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.city-dot-main { animation: dotPulseMain 2.2s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes dotPulseMain {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.25); }
}
.city-label {
  letter-spacing: 0.02em;
  fill: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.6);
  font-weight: 700 !important;
}
.city-label-main {
  letter-spacing: 0.01em;
  fill: #ffffff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 0 24px rgba(227,182,88,0.75), 0 0 44px rgba(227,182,88,0.35);
  font-weight: 800 !important;
  animation: dubaiGlow 2.6s ease-in-out infinite;
}
@keyframes dubaiGlow {
  0%, 100% { text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 0 24px rgba(227,182,88,0.75), 0 0 44px rgba(227,182,88,0.35); }
  50% { text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 0 32px rgba(227,182,88,1), 0 0 60px rgba(227,182,88,0.55); }
}
.graticule path { animation: graticuleDrift 40s linear infinite; }
@keyframes graticuleDrift {
  0% { opacity: 0.4; }
  50% { opacity: 0.6; }
  100% { opacity: 0.4; }
}
.reach-tags {
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  position: relative;
  z-index: 2;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--color-bg-dark);
  padding: 100px 40px 60px;
}
.contact-heading { max-width: 1100px; margin: 0 auto 70px; }
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-block { margin-bottom: 34px; }
.contact-block p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0.01em;
  color: var(--color-text-light);
  line-height: 1.55;
}
.inquiry-card {
  background: #1e1a15;
  border: 1px solid rgba(201,165,92,0.15);
  border-radius: 4px;
  padding: 36px;
}
.inquiry-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.inquiry-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
#inquiryForm { display: flex; flex-direction: column; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#inquiryForm input,
#inquiryForm select,
#inquiryForm textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,241,232,0.2);
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-light);
  outline: none;
  transition: border-color 0.3s ease;
}
#inquiryForm input:focus,
#inquiryForm select:focus,
#inquiryForm textarea:focus {
  border-color: var(--color-gold);
}
#inquiryForm select option { background: #1e1a15; color: var(--color-text-light); }
#inquiryForm textarea { resize: vertical; }
.submit-button {
  margin-top: 10px;
  background: linear-gradient(135deg, #e8d4a0, #c9a55c);
  border: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #1a1714;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.3s ease;
}
.submit-button:hover { opacity: 0.88; }
.submit-button:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status { font-size: 0.8rem; color: var(--color-gold-light); min-height: 18px; }
.form-status.error { color: #e07a5f; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(245,241,232,0.08);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===== CHAT FAB ===== */
.chat-fab {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d4a0, #c9a55c);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 900;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-divider { display: none; }
  .stats-row { flex-direction: column; gap: 24px; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { padding: 16px 20px; }
  .about, .trade, .reach, .contact { padding-left: 20px; padding-right: 20px; }
  .trade-heading, .contact-heading { padding-left: 0; padding-right: 0; }
  .about-inner, .stats-row, .contact-inner, .contact-heading { padding: 0; }
  .site-footer { flex-direction: column; gap: 6px; padding: 20px; }
  .trade-card { width: 250px; height: 480px; }
}
