/* ==========================================================================
   Shahul Delivery — Institutional Corporate Logistics Architecture
   Brand: Shahul Delivery (shahuldelivery.com)
   Style: Strict B2B Commercial Fleet (No neon, no pills, no emojis)
   ========================================================================== */

:root {
  --color-primary: #0F172A;        /* Deep Slate Navy */
  --color-primary-dark: #0A0F1D;   /* Dark Base */
  --color-primary-mid: #1E293B;    /* Neutral Slate Navy */
  --color-accent: #C2410C;         /* Grounded Corporate Rust/Amber */
  --color-accent-hover: #9A3412;
  --color-accent-soft: #FFF7ED;
  --color-neutral-slate: #F8FAFC;  /* Light Clean Surface */
  --color-surface-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-subtle: #CBD5E1;
  --color-text-title: #0F172A;
  --color-text-body: #334155;
  --color-text-muted: #64748B;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-neutral-slate);
  color: var(--color-text-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-title);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.container-custom {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Institutional Badges - Square / Soft-Engineered, NO PILLS */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-border-subtle);
  background-color: #FFFFFF;
  color: #334155;
}

.tag-badge-accent {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: #334155;
}

.tag-badge-dark {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
}

/* Buttons - Crisp, Architectural, No Neon */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-accent);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  border: 1px solid var(--color-primary-mid);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}
.btn-secondary:hover {
  background-color: var(--color-primary-mid);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: var(--color-text-title);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: #F8FAFC;
  border-color: var(--color-text-title);
}

.btn-whatsapp-corporate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #0F172A;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  border: 1px solid #334155;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-whatsapp-corporate:hover {
  background-color: #1E293B;
  border-color: #475569;
}

/* Institutional Card Surfaces */
.institutional-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.75rem;
  transition: border-color 0.15s ease;
}
.institutional-card:hover {
  border-color: var(--color-border-subtle);
}

/* Subtle Range Slider */
input[type="range"].corporate-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  outline: none;
}
input[type="range"].corporate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: var(--color-accent);
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Floating Corporate WhatsApp Widget - Subdued, No Neon Glow */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 0.65rem 1.1rem;
  border-radius: 4px;
  border: 1px solid #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.floating-whatsapp-widget:hover {
  background-color: #1E293B;
  border-color: #475569;
  transform: translateY(-1px);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #FFFFFF;
  border-radius: 4px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Navigation Links (High contrast on white header) */
.nav-link {
  color: #475569;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.35rem 0.55rem;
  text-decoration: none;
  position: relative;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #0F172A;
}
.nav-link.active {
  color: #0F172A !important;
  font-weight: 800;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0.55rem;
  right: 0.55rem;
  height: 2.5px;
  background-color: var(--color-accent);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  z-index: 998;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer-content {
  background: #0F172A;
  width: 85%;
  max-width: 320px;
  height: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #1E293B;
  overflow-y: auto;
}

/* Clean Data Tables */
.institutional-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.institutional-table th {
  background-color: #F8FAFC;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  border-bottom: 1px solid var(--color-border);
}
.institutional-table td {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}
.institutional-table tr:hover td {
  background-color: #F8FAFC;
}

/* SPA Pages */
.page-view {
  display: none;
}
.page-view.active-page {
  display: block;
}

/* Active Tab Helper for Coverage & Filters */
.bg-orange-brand {
  background-color: var(--color-accent) !important;
  color: #FFFFFF !important;
  border-color: var(--color-accent) !important;
}
.text-orange-brand {
  color: var(--color-accent) !important;
}

.coverage-tab {
  cursor: pointer;
  transition: all 0.15s ease;
}

/* Hero Photographic Background & Overlay */
.hero-photo-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.97) 0%, rgba(11, 25, 44, 0.95) 100%);
  z-index: 1;
}
.hero-photo-bg h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-photo-content {
  position: relative;
  z-index: 2;
}

/* Architectural White B2B Elevated Card */
.card-architectural-white {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
}

/* Calculator Tier Selectors */
.calc-tier-btn {
  transition: all 0.15s ease;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
}
.calc-tier-btn.active {
  background-color: #FFF7ED;
  border-color: #C2410C;
  color: #0F172A;
  box-shadow: 0 0 0 1px #C2410C;
}

