/**
 * Nouran Lighting Solutions - Modern Architectural Theme (High Contrast & Bright Aesthetic)
 */

/* View Transitions for Multi-Page Smoothness */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

/* Typography & Directionality */
[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  letter-spacing: normal !important;
}

[dir="ltr"] {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Icon & Chevron RTL Flipping */
[dir="rtl"] .rtl-flip {
  transform: scaleX(-1);
}

/* Custom Scrollbar - Clean & Modern */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Luminescence & Architectural Lighting Accents */
.gold-glow {
  box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.25);
}
.gold-glow-sm {
  box-shadow: 0 4px 15px -2px rgba(212, 175, 55, 0.2);
}
.blue-glow {
  box-shadow: 0 10px 30px -5px rgba(11, 43, 99, 0.2);
}

/* High-Contrast Light Cards */
.card-light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}
.card-light:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* High-Contrast Partner Logo Cards */
.partner-logo-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.partner-logo-card:hover {
  border-color: #d4af37;
  box-shadow: 0 8px 20px -4px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* Light Glassmorphic Header */
.glass-header-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
}

/* Ken Burns Subtle Hero Slideshow */
@keyframes kenburns {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.ken-burns {
  animation: kenburns 22s ease-in-out infinite alternate;
}

/* Infinite Marquee for Partner Brand Logos */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  0% { transform: translateX(0%); }
  100% { transform: translateX(50%); }
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
[dir="rtl"] .animate-marquee {
  animation: marquee-rtl 35s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* Lightbox Dialog */
#lightboxModal[open] {
  animation: lightboxFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Active Navigation Link Highlight */
.nav-active {
  color: #0b2b63 !important;
  font-weight: 700;
  position: relative;
}
.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #0b2b63, #d4af37);
  border-radius: 2px;
}
