﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --primary-gold: #c9933b;
  --primary-gold-dark: #9a6d23;
  --primary-gold-light: #f5dfa8;
  --dark-slate: #0b1320;
  --dark-card: #141f32;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Section Gradients & Accents */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(201, 147, 59, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.05) 0%, transparent 40%),
              #ffffff;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #a87425 0%, #c9933b 50%, #855914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #c9933b 0%, #a87425 100%);
}

.gold-gradient-bg:hover {
  background: linear-gradient(135deg, #db9f3e 0%, #b87f28 100%);
}

/* Cards & Interactions */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.portfolio-img-wrapper {
  overflow: hidden;
  position: relative;
}
.portfolio-img-wrapper img {
  transition: transform 0.5s ease;
}
.portfolio-img-wrapper:hover img {
  transform: scale(1.06);
}

/* Pulse animation for WhatsApp callouts */
@keyframes softPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-wa {
  animation: softPulse 2s infinite;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(11, 19, 32, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Mobile Sticky Contact Bar */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}
