/* ==========================================================================
   GLOBAL SOLUTIONS & SERVICES (GSS) - OFFICIAL STYLESHEET
   Marine Engineering, Shipbuilding & Heavy Precision Fabrication
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #0047AB;        /* Deep Royal Blue */
  --color-primary-dark: #0A1E4A;   /* Navy Core */
  --color-primary-light: #1E3A8A;  /* Deep Maritime Blue */
  --color-accent: #00B4D8;         /* Cyan / Electric Blue */
  --color-accent-hover: #0096C7;   /* Rich Cyan */
  --color-accent-glow: rgba(0, 180, 216, 0.35);
  --color-industrial-bg: #F8FAFC;  /* Crisp Off-White */
  --color-card-border: #E2E8F0;    /* Steel Gray */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
}

body {
  background-color: var(--color-industrial-bg);
  color: #1E293B;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

.font-mono-tech {
  font-family: var(--font-mono);
}

/* Maritime Technical Grid Background */
.bg-tech-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 71, 171, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 71, 171, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-tech-grid-dark {
  background-image: 
    linear-gradient(to right, rgba(0, 180, 216, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 180, 216, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Technical Crosshair Coordinates */
.tech-crosshair {
  position: relative;
}
.tech-crosshair::before,
.tech-crosshair::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(0, 180, 216, 0.6);
  pointer-events: none;
}
.tech-crosshair::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.tech-crosshair::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* Glowing Marine Borders & Cards */
.card-marine {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.card-marine:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 16px 32px -8px rgba(0, 71, 171, 0.12), 0 0 15px rgba(0, 180, 216, 0.2);
}

.card-marine-dark {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.6);
  transition: all 0.3s ease;
}
.card-marine-dark:hover {
  border-color: rgba(0, 180, 216, 0.6);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 180, 216, 0.25);
  transform: translateY(-3px);
}

/* Custom GSS Button Styles */
.btn-marine-primary {
  background: linear-gradient(135deg, #0047AB 0%, #0096C7 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3);
  transition: all 0.25s ease;
}
.btn-marine-primary:hover {
  background: linear-gradient(135deg, #003B91 0%, #00B4D8 100%);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.45);
  transform: translateY(-2px);
}

.btn-marine-secondary {
  border: 1.5px solid rgba(0, 180, 216, 0.8);
  color: #00B4D8;
  background: rgba(0, 180, 216, 0.05);
  transition: all 0.25s ease;
}
.btn-marine-secondary:hover {
  background: rgba(0, 180, 216, 0.15);
  border-color: #00B4D8;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

/* Subtle Animated Radar Sweep */
@keyframes radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-radar {
  animation: radar-sweep 12s linear infinite;
}

/* Hydraulic Pulse Animation */
@keyframes hydraulic-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}
.animate-hydraulic-pulse {
  animation: hydraulic-glow 3s ease-in-out infinite;
}

/* Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0B132B;
}
::-webkit-scrollbar-thumb {
  background: #1E3A8A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00B4D8;
}

/* Custom Range Input for Hydraulic Calculator */
input[type=range] {
  accent-color: #00B4D8;
}

/* Backdrop Blur Fixes */
.glass-nav {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Badge Pulse */
.pulse-indicator {
  position: relative;
}
.pulse-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: inherit;
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}
