/* ============================================================
   JAMMU LOGISTICS — MAIN CSS (White & Orange DriveU Theme)
   Design tokens, reset, typography, utilities, responsive layout
   ============================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Colors - Clean White & Vibrant Orange Theme (DriveU Aesthetic) */
  --color-primary:        #FF6B00;       /* Vibrant Electric Orange */
  --color-primary-dark:   #E05D00;       /* Darker Orange */
  --color-primary-light:  #FF8533;       /* Lighter Orange */
  --color-primary-glow:   rgba(255, 107, 0, 0.22);
  --color-primary-soft:   #FFF7ED;       /* Very soft orange tint */

  --color-accent:         #FF6B00;
  --color-accent-dark:    #E05D00;
  --color-accent-light:   #FFA066;

  --color-navy:           #0F172A;       /* Deep Slate Navy for high-contrast text */
  --color-navy-light:     #1E293B;
  --color-navy-soft:      #334155;

  --color-whatsapp:       #25D366;
  --color-whatsapp-dark:  #1EBE5D;

  --color-white:          #FFFFFF;
  --color-surface:        #F8FAFC;       /* Off-white / light slate */
  --color-surface-alt:    #F1F5F9;       /* Secondary neutral */
  --color-card-bg:        #FFFFFF;
  --color-border:         #E2E8F0;
  --color-border-subtle:  #F1F5F9;
  --color-border-hover:   #CBD5E1;

  --color-text:           #0F172A;       /* Crisp dark text */
  --color-text-muted:     #64748B;       /* Secondary slate text */
  --color-text-light:     #94A3B8;       /* Subtle text */

  /* Typography - Clean Modern Geometric Sans */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes — responsive & crisp */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  clamp(1.5rem,  3vw, 1.875rem);
  --text-3xl:  clamp(1.875rem, 3.5vw, 2.375rem);
  --text-4xl:  clamp(2.25rem, 4.5vw, 3rem);
  --text-5xl:  clamp(2.5rem,  5.5vw, 3.75rem);

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows - Soft & Clean */
  --shadow-sm:  0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md:  0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 12px 32px -4px rgba(15, 23, 42, 0.10), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl:  0 24px 48px -8px rgba(15, 23, 42, 0.14);
  --shadow-orange: 0 8px 24px -2px rgba(255, 107, 0, 0.35);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 350ms;
  --duration-slower: 500ms;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  line-height: 1.7;
  color: var(--color-text-muted);
}

strong { font-weight: 700; color: var(--color-text); }

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  box-sizing: border-box;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section--white {
  background-color: var(--color-white);
}

.section--light {
  background-color: var(--color-surface);
}

.section--alt {
  background-color: var(--color-surface-alt);
}

.section--orange-soft {
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, var(--color-white) 100%);
}

.section--dark {
  background-color: #0B132B;
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: inherit;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  background: var(--color-primary-soft);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header h2 {
  margin-bottom: var(--sp-3);
}

.section-header p {
  max-width: 58ch;
  font-size: var(--text-md);
  color: var(--color-text-muted);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white) !important;
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.45);
}

.btn--outline {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-text) !important;
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
  background: var(--color-primary-soft);
  transform: translateY(-2px);
}

.btn--outline-orange {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary) !important;
}

.btn--outline-orange:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: var(--color-white) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: linear-gradient(135deg, #28E06E 0%, #19A850 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

/* ---- Floating WhatsApp Widget ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 8500;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}
