/* ==========================================================================
   CRGO ELECTRICAL STEEL - DSB INTERNATIONAL (dsbintlindia.com)
   Theme: Clean Light Cargo Port & Maritime Logistics
   ========================================================================== */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --border-subtle: #E2E8F0;
  --cargo-blue: #0284C7;
  --cargo-dark-blue: #0369A1;
  --cargo-amber: #F59E0B;
  --cargo-orange: #EA580C;
  --cargo-green: #10B981;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 30px -10px rgba(2, 132, 199, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
}

/* Offset all section anchors for sticky header */
section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  overflow-x: hidden;
  background-color: #FFFFFF;
  color: #0F172A;
}

/* Subtle Cargo Grid lines */
.cargo-grid-pattern {
  background-color: #FAFCFE;
  background-image: 
    radial-gradient(#E2E8F0 1px, transparent 1px),
    radial-gradient(#E2E8F0 1px, #FAFCFE 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284C7;
}

/* Light Card Panels */
.light-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-card:hover {
  border-color: #BAE6FD;
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

/* Sticky Glass Navigation */
.light-glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

/* Nav Active Link Highlight */
.nav-link {
  position: relative;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.nav-link:hover {
  background-color: #F1F5F9;
}
.nav-link.active-nav {
  color: #0284C7 !important;
  background-color: #F0F9FF;
  font-weight: 800;
}
.nav-link.active-nav::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background-color: #0284C7;
  border-radius: 2px;
}

/* High-Impact Cargo Buttons */
.btn-cargo-blue {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 0.65rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
}
.btn-cargo-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
  filter: brightness(1.05);
}

.btn-cargo-amber {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 0.65rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
}
.btn-cargo-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
  filter: brightness(1.05);
}

.btn-cargo-outline {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #1E293B;
  font-weight: 600;
  border-radius: 0.65rem;
  transition: all 0.25s ease;
}
.btn-cargo-outline:hover {
  border-color: #0284C7;
  color: #0284C7;
  background: #F0F9FF;
}

/* Table styling for specs in Light Theme */
.light-spec-table th {
  background: #F8FAFC;
  color: #475569;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 1rem 1.15rem;
  border-bottom: 2px solid #CBD5E1;
}
.light-spec-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.875rem;
  color: #334155;
}
.light-spec-table tr:hover td {
  background: #F0F9FF;
}

/* Highlight badge for 27-105 SHOYU in Light Mode */
.shoyu-light-highlight {
  background: #FFFBEB !important;
  border-left: 4px solid #F59E0B;
}

/* Pulse indicator in light mode */
.pulse-indicator-green {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
}
.pulse-indicator-green::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #10B981;
  opacity: 0.4;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0284C7;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.5);
  border: 2px solid #FFFFFF;
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Floating quick contact widget */
.floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dock-btn:hover {
  transform: scale(1.12);
}
.dock-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}
.dock-rfq {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
}
.dock-top {
  background: #FFFFFF;
  color: #475569;
  border: 1px solid #CBD5E1;
}
.dock-top:hover {
  color: #0284C7;
  border-color: #0284C7;
}

/* Modal styles */
.modal-overlay {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}
