/* ===== VARIABLES ===== */
:root {
  --bg: #0D0D0D;
  --gold: #C9A84C;
  --gold-light: #E8C870;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-dark: #1A1A1A;
  --border: rgba(201, 168, 76, 0.2);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Sora', sans-serif;
  --section-pad: 120px 0;
  --max-w: 1200px;
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-ar);
  overflow-x: hidden;
}
@media (pointer: fine) {
  body { cursor: none; }
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

#custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}


#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition: background var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo .logo-img {
  height: 130px;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.2));
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
              filter  200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(201, 168, 76, 0.5));
}
.nav-logo:active .logo-img {
  transform: scale(0.97);
  transition-duration: 100ms;
}
/* ===== NAV LINKS ===== */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  border-radius: 50px;
  transition: color 200ms ease, background-color 200ms ease;
  cursor: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link.active { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  cursor: none;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: all var(--transition);
  display: flex;
  gap: 6px;
}
.lang-toggle:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ===== SLIDESHOW ===== */
#slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: all;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
  transform-origin: center;
}
.slide.active .slide-bg {
  animation: kenburns 5.8s ease-in-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.45) 0%,
    rgba(13, 13, 13, 0.65) 100%
  );
}
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-logo .slide-main-logo {
  height: 300px;
  max-width: 80vw;
  object-fit: contain;
  filter: drop-shadow(0 8px 48px rgba(0, 0, 0, 0.6));
}
.slide-text {
  text-align: center;
  padding: 0 40px;
}
.slide-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0;
}
.slide-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  opacity: 0;
}
.slide.active .slide-label {
  animation: slideTextIn 0.8s ease 0.3s forwards;
}
.slide.active .slide-title {
  animation: slideTextIn 0.8s ease 0.55s forwards;
}
@keyframes slideTextIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.slide-arrow:hover {
  background: rgba(201, 168, 76, 0.3);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.slide-prev { left: 28px; }
.slide-next { right: 28px; }
.slide-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.slide-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
@media (max-width: 600px) {
  .slide-logo .slide-main-logo { height: 200px; }
  .slide-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .slide-prev { left: 12px; }
  .slide-next { right: 12px; }
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad);
  padding-left: 40px;
  padding-right: 40px;
}
.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray);
  max-width: 520px;
  font-weight: 300;
}

#about { background: var(--bg); }
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.split-visual { position: relative; height: 100%; min-height: 500px; }

.about-body-2 { margin-top: 20px; }

/* VMV inside the gold panel */
.about-vmv {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 36px;
  height: 100%;
  justify-content: center;
}
.vmv-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.vmv-item:first-child { border-top: 1px solid rgba(0, 0, 0, 0.15); }
.vmv-title {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 8px;
  font-weight: 700;
}
.vmv-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1000;
  font-weight: 500;
}
.gold-panel {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, #8B6914 50%, #2A1E00 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.gold-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#stats {
  background: var(--gray-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { padding: 40px 20px; }
.stat-number {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  color: var(--gold);
  font-family: var(--font-en);
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--gold);
  font-weight: 900;
  font-family: var(--font-en);
}
.stat-label {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 400;
}

#why { background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.card {
  background: var(--gray-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: border-color var(--transition);
  transform-style: preserve-3d;
  cursor: none;
}
.card:hover { border-color: var(--gold); }
.card-icon { margin-bottom: 24px; }
.card-icon img { width: 48px; height: 48px; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.card-body { font-size: 0.95rem; color: var(--gray); line-height: 1.8; }

#contact { background: var(--gray-dark); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.phones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.phone-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 1.05rem;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--white);
  transition: all var(--transition);
  cursor: none;
}
.phone-card:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-3px);
  color: var(--gold);
}
.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  flex-shrink: 0;
}
.address-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: all var(--transition);
}
.address-card:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}
.address-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.address-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--white);
  font-family: var(--font-ar);
}
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe { display: block; filter: grayscale(100%) invert(90%) hue-rotate(180deg); }

#footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo { height: 90px; margin-bottom: 20px; }
.footer-copy { font-size: 0.85rem; color: var(--gray); }

#whatsapp-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: none;
}
#whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
#whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2s ease-out infinite;
  z-index: 0;
}
#whatsapp-btn svg { position: relative; z-index: 1; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}


@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .phones-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  #navbar { padding: 16px 20px; }
  .section-inner { padding-left: 20px; padding-right: 20px; }
  #whatsapp-btn { bottom: 20px; left: 20px; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .phones-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
