
/* ---------- Design Tokens ---------- */
:root {
  --primary: #071B4A;
  --primary-dark: #041233;
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --gold-light: #F4D67A;

  --bg: #020B1F;
  --surface: #08152E;
  --card: #0B1735;

  --white: #FFFFFF;
  --text: #FFFFFF;
  --muted: #C2CAD8;

  --border: rgba(212, 175, 55, .20);

  --gold-gradient: linear-gradient(135deg, #F4D67A 0%, #D4AF37 45%, #B8860B 100%);
  --bg-gradient: linear-gradient(180deg, #020B1F 0%, #071B4A 100%);

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .30);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  --glow: 0 0 24px rgba(212, 175, 55, .45);

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

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

.container { width: min(92%, var(--maxw)); margin-inline: auto; }

/* ---------- Reusable Section ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }

.section-head { text-align: center; margin-bottom: 3.5rem; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  text-wrap: balance;
}

.divider {
  width: 90px; height: 3px;
  margin: 1.25rem auto 0;
  background: var(--gold-gradient);
  border-radius: 999px;
  position: relative;
}
.divider::before, .divider::after {
  content: "";
  position: absolute; top: 50%;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: var(--glow);
}
.divider::before { right: -16px; }
.divider::after { left: -16px; }
.divider-start { margin-inline: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  overflow: hidden;
  white-space: nowrap;
}
.btn-ico { font-size: 1.1rem; }

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(212, 175, 55, .28);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(212, 175, 55, .5), var(--glow);
}

.btn-outline {
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: var(--glow);
}

/* Golden shine sweep */
.shine::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.shine:hover::after { left: 140%; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--primary-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 64px; height: 64px;
  border: 3px solid rgba(212, 175, 55, .2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 900;
  padding: 1.1rem 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.navbar.scrolled {
  background: rgba(4, 18, 51, .85);
  backdrop-filter: blur(14px);
  padding: .65rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-logo { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(212,175,55,.4)); }
.nav-name { font-weight: 800; font-size: 1.15rem; color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-weight: 600; font-size: .98rem;
  color: var(--muted);
  transition: color .3s ease;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; bottom: -6px; right: 0;
  width: 0; height: 2px; background: var(--gold-gradient);
  transition: width .3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--gold-gradient);
  color: var(--primary-dark) !important;
  padding: .5rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { box-shadow: var(--glow); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--gold);
  border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-skyline.png') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.15); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 11, 31, .78) 0%, rgba(7, 27, 74, .82) 100%),
    radial-gradient(circle at 50% 40%, rgba(7, 27, 74, .35), rgba(2, 11, 31, .9));
}
.hero-particles { position: absolute; inset: 0; z-index: 1; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
}
.hero-logo {
  width: 150px; 
  height: 150px;
  object-fit: contain;
  margin: 1rem auto 0.5rem;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, .55));
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-company {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.hero-headline {
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 640px; margin: 0 auto 2rem;
  line-height: 1.8;
}
.hero-buttons {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
}

.wheel {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px; background: var(--gold);
  border-radius: 2px; transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ============================================================
   GLASS CARD (shared)
   ============================================================ */
.card {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, .15);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, .18);
}
.service-ico {
  width: 74px; height: 74px; margin: 0 auto 1.3rem;
  display: grid; place-items: center;
  font-size: 2rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, .1);
  border: 1px solid var(--border);
  transition: transform .4s ease;
}
.service-card:hover .service-ico { transform: scale(1.1) rotate(-6deg); box-shadow: var(--glow); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; color: var(--white); }
.service-card p { color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 3rem; align-items: center;
}
.about-text .section-title { text-align: right; }
.about-text p {
  color: var(--muted); font-size: 1.08rem; line-height: 2;
  margin: 1.5rem 0 2rem;
}
.about-text strong { color: var(--gold-light); font-weight: 700; }

.about-frame { position: relative; }
.gold-line-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.gold-line-frame img { width: 100%; height: 420px; object-fit: cover; }
.about-frame::before, .about-frame::after {
  content: ""; position: absolute; width: 70px; height: 70px;
  border: 2px solid var(--gold);
}
.about-frame::before { top: -14px; right: -14px; border-inline-start: none; border-bottom: none; }
.about-frame::after { bottom: -14px; left: -14px; border-inline-end: none; border-top: none; }

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.why-card {
  padding: 2.4rem 1.6rem; text-align: center;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.why-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.why-check {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary-dark); font-weight: 800; font-size: 1.3rem;
  box-shadow: var(--glow);
}
.counter {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1.1;
}
.why-card h3 { font-size: 1.15rem; margin: .5rem 0 .4rem; color: var(--white); }
.why-card p { color: var(--muted); font-size: .92rem; }



/* ---------- Location ---------- */
.map-card {
  display: grid; grid-template-columns: 1.4fr .6fr;
  overflow: hidden;
}
.map-wrap { min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.3) contrast(1.1); }
.map-info {
  padding: 2.5rem; display: flex; flex-direction: column;
  justify-content: center; gap: 1rem;
}
.map-info h3 { font-size: 1.4rem; color: var(--gold-light); font-weight: 700; }
.map-info p { color: var(--muted); }
.map-info .btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.contact-card {
  padding: 2rem; text-align: center;
  display: flex; flex-direction: column; gap: .5rem; align-items: center;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.contact-ico {
  width: 60px; height: 60px; display: grid; place-items: center;
  font-size: 1.6rem; border-radius: 50%;
  background: rgba(212, 175, 55, .1); border: 1px solid var(--border);
}
.contact-label { color: var(--muted); font-size: .9rem; }
.contact-value { color: var(--white); font-weight: 700; font-size: 1.15rem; direction: ltr; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary-dark);
  border-top: 3px solid transparent;
  border-image: var(--gold-gradient) 1;
  padding-top: 3rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 2rem;
}
.footer-brand { display: flex; flex-direction: column;     align-items: center;
    gap: .3rem;
    width: 100%; }
.footer-logo { width: 60px; height: 60px; object-fit: contain; margin-bottom: .5rem; filter: drop-shadow(0 0 10px rgba(212,175,55,.4)); }
.footer-brand h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; }
.footer-brand p { color: var(--gold-light); font-size: .95rem; }
.footer-social { display: flex; gap: .8rem; }
.social-dot {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border);
  color: var(--gold); font-weight: 700; font-size: .9rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.social-dot:hover { background: var(--gold-gradient); color: var(--primary-dark); transform: translateY(-4px); box-shadow: var(--glow); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0; text-align: center;
}
.footer-bottom p { color: var(--muted); font-size: .9rem; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 1.8rem; left: 1.8rem;
  z-index: 800;
  width: 50px; height: 50px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--gold-gradient);
  color: var(--primary-dark); font-size: 1.4rem; font-weight: 800;
  box-shadow: 0 8px 22px rgba(212, 175, 55, .35);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: var(--glow); transform: translateY(-4px); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(2, 11, 31, .94);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88%; max-height: 82%;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(212, 175, 55, .12);
  border: 1px solid var(--border); color: var(--gold);
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s ease, color .3s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold-gradient); color: var(--primary-dark); }
.lightbox-close { top: 1.5rem; left: 1.5rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { right: 1.5rem; }
.lightbox-next { left: 1.5rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1;  }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .map-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto;
    width: min(78%, 320px);
    flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.8rem;
    padding: 2rem;
    background: rgba(4, 18, 51, .97);
    backdrop-filter: blur(16px);
    border-inline-start: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-toggle { display: flex; }

  .about-inner { grid-template-columns: 1fr; }
  .about-text .section-title { text-align: center; }
  .divider-start { margin-inline: auto; }
  .gold-line-frame img { height: 320px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-buttons .btn, .contact-buttons .btn { width: 90%; padding: 0.3rem;;justify-content: center; }
  .gallery-item img { height: 220px; }
  .map-info { padding: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
