/* ================================
   SHARED STYLES - All Pages
   ================================ */

:root {
  --navy-deep: #000033;
  --gold: #D4AF37;
  --gold-glow: rgba(212, 175, 55, 0.4);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #000033 0%, #000011 50%, #000033 100%);
  color: #ffffff;
  scroll-behavior: smooth;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

/* Premium Animated Background Mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  animation: meshMove 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Premium Floating Particles */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(212, 175, 55, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(212, 175, 55, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(212, 175, 55, 0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(212, 175, 55, 0.3), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(212, 175, 55, 0.3), transparent);
  animation: particleFloat 60s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

@keyframes meshMove {
  0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.1) rotate(2deg); }
}

@keyframes particleFloat {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-100vh) translateX(100px); }
}

.font-brand {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

main, section, article {
  position: relative;
  z-index: 1;
}

/* Navigation Styles */
nav {
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 51, 0.98) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo-img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px var(--gold-glow));
  transition: all 0.5s;
}

/* Mobile Menu */
.mobile-menu-overlay {
  transform: translateX(100%);
  transition: transform 0.35s ease;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 51, 0.95);
  will-change: transform;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

/* Premium Text Effects */
.gold-gradient-text {
  background: linear-gradient(135deg, #FBF5B7 0%, #D4AF37 50%, #A6862C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Service/Content Cards */
.service-card {
  transition: all 0.5s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -15px rgba(212, 175, 55, 0.3);
}

/* Premium Button */
.premium-btn {
  position: relative;
  overflow: hidden;
}

.premium-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, transparent, var(--gold-glow), transparent);
  opacity: 0;
  filter: blur(10px);
  z-index: -1;
  transition: opacity 0.5s;
}

.premium-btn:hover::after {
  opacity: 1;
}

/* Fade-in Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), #A6862C);
  border-radius: 10px;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

/* Logo Watermark */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-image: url('/wm.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  filter: brightness(1.2) drop-shadow(0 0 60px rgba(212, 175, 55, 0.3));
}

/* Industry Carousel */
.industry-carousel {
  position: relative;
}

.industry-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.industry-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.industry-carousel-track::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), #A6862C);
  border-radius: 999px;
}

.industry-card {
  scroll-snap-align: start;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.75rem;
  color: #f8fafc;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
}

.industry-card.is-active {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.industry-carousel-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 51, 0.7);
  color: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.industry-carousel-btn:hover {
  border-color: rgba(212, 175, 55, 0.6);
  color: #D4AF37;
}

.industry-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
