/* ==========================================================================
   MARK-TECH Official Stylesheet
   Brand Palette:
   Deep Navy: #0B1F44 | Electric Blue: #2563EB | White: #FFFFFF | Cool Grey: #94A3B8
   Font: Inter
   ========================================================================== */

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

:root {
  --color-navy: #0B1F44;
  --color-navy-900: #07142E;
  --color-navy-800: #102A5C;
  --color-navy-700: #163A7A;
  --color-blue: #2563EB;
  --color-blue-400: #60A5FA;
  --color-blue-600: #1D4ED8;
  --color-white: #FFFFFF;
  --color-cool: #94A3B8;
  --color-cool-light: #F8FAFC;
  --color-cool-border: #E2E8F0;
}

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  color: #1E293B;
  background-color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #07142E;
}
::-webkit-scrollbar-thumb {
  background: #1E3A8A;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563EB;
}

/* Grid Pattern Background for Hero and Tech Sections */
.bg-tech-grid {
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-tech-grid-dense {
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Radial Glow Orbs */
.glow-orb-blue {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, rgba(11, 31, 68, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.glow-orb-cyan {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(11, 31, 68, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(11, 31, 68, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-dark {
  background: rgba(16, 42, 92, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 165, 250, 0.15);
}

.glass-card-dark:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.3);
}

/* Button Glow on Hover */
.btn-primary-glow {
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(37, 99, 235, 0.55);
}

.btn-secondary-hover {
  transition: all 0.25s ease-in-out;
}

.btn-secondary-hover:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Card Hover Lift */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(11, 31, 68, 0.1);
}

/* Lightbox Modal */
.lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Animations */
@keyframes pulseSubtle {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.animate-pulse-subtle {
  animation: pulseSubtle 6s infinite ease-in-out;
}

/* Floating animation */
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatY 4s ease-in-out infinite;
}

/* Section active indicator in sticky sub-nav */
.subnav-link.active {
  color: #2563EB;
  border-bottom: 2px solid #2563EB;
  font-weight: 600;
}
