/* ========================================
   BACKHAUL FRIEGHT LLC - Main Stylesheet
   Color System: Deep Navy, White, Light Blue, Orange Accents
   ======================================== */

/* --- CSS Variables --- */
:root {
  --navy: #0B1D3A;
  --navy-light: #132C55;
  --navy-dark: #060F1F;
  --blue: #1E5299;
  --blue-light: #3A7BD5;
  --blue-pale: #E8F0FE;
  --blue-bg: #F4F7FC;
  --orange: #E8792B;
  --orange-hover: #D06820;
  --orange-light: #FFF3EB;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --success: #059669;
  --success-bg: #ECFDF5;
  --error: #DC2626;
  --error-bg: #FEF2F2;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --info: #2563EB;
  --info-bg: #EFF6FF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
  --header-height: 80px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --transition: 0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-500); }
.bg-navy { background: var(--navy); }
.bg-blue-pale { background: var(--blue-pale); }
.bg-gray { background: var(--gray-50); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.25rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 700px;
  line-height: 1.7;
}
.section-subtitle.centered { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-link img {
  height: 48px;
  width: 48px;
  border-radius: 6px;
  object-fit: cover;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: var(--blue-pale);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-login:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* Mobile action buttons (hidden on desktop, shown in mobile nav) */
.mobile-actions { display: none; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,29,58,0.88) 0%, rgba(11,29,58,0.7) 50%, rgba(11,29,58,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 0;
}
.hero-content .section-label {
  color: var(--orange);
  margin-bottom: 1rem;
}
.hero-content h1 {
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.hero-content .hero-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background: var(--navy);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,82,153,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb a:hover { color: var(--orange); }

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--gray-50);
}

/* --- Service Cards (Image-based) --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.03); }
.service-card-body {
  padding: 28px;
}
.service-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.service-card-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.service-card-body .btn { margin-top: 16px; }

/* --- Alternating Image+Text Sections --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.split-section.reverse .split-img { order: 2; }
.split-section.reverse .split-content { order: 1; }

.split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.split-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.split-content p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
}
.split-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.split-content ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.split-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* --- Who We Serve --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.audience-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}
.audience-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.audience-card i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.audience-card h4 { margin-bottom: 8px; }
.audience-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Why Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.why-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
}
.why-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.why-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: var(--navy);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,121,43,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}
.cta-inner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-link img {
  height: 44px;
  width: 44px;
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item i {
  color: var(--orange);
  font-size: 0.9rem;
  margin-top: 4px;
  min-width: 16px;
}
.footer-contact-item span,
.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--orange); }
.footer-legal { display: flex; gap: 24px; }
.developer-credit {
  text-align: center;
  padding: 12px 0 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}


/* --- Forms --- */
.form-section {
  padding: 80px 0;
}
.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  border: 1px solid var(--gray-200);
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h2 { margin-bottom: 8px; }
.form-header p { color: var(--gray-500); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full-width { grid-column: 1 / -1; }

.form-group {
  margin-bottom: 4px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group label .required {
  color: var(--error);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,82,153,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}
.form-group .error-message {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.form-checkbox label {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.form-checkbox label a { color: var(--blue); text-decoration: underline; }

.form-submit {
  text-align: center;
  margin-top: 32px;
}
.form-submit .btn { min-width: 200px; }

/* Form States */
.form-loading,
.form-success,
.form-error-state {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-loading.active,
.form-success.active,
.form-error-state.active {
  display: block;
}
.form-success i { font-size: 4rem; color: var(--success); margin-bottom: 16px; }
.form-success h3 { color: var(--navy); margin-bottom: 8px; }
.form-success .ref-number {
  display: inline-block;
  padding: 8px 20px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin: 12px 0;
  font-size: 1.1rem;
}
.form-error-state i { font-size: 3rem; color: var(--error); margin-bottom: 16px; }

/* --- Loading Spinner --- */
.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Contact Info Cards --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-info-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}
.contact-info-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.contact-info-card i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 12px;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* --- Service Detail List --- */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--blue-pale);
  border-radius: var(--radius);
}
.service-list-item i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.service-list-item h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.service-list-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Admin Panel --- */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 24px;
}
.admin-login-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.admin-login-box img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  margin: 0 auto 16px;
}
.admin-login-box h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.admin-login-box .login-subtitle {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.admin-login-box .form-group { text-align: left; margin-bottom: 16px; }
.admin-login-box .btn { width: 100%; }
.login-notice {
  margin-top: 24px;
  padding: 12px;
  background: var(--warning-bg);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--warning);
  line-height: 1.5;
}

/* Admin Dashboard */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--navy-dark);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}
.admin-sidebar-brand img { width: 36px; height: 36px; border-radius: 6px; }
.admin-sidebar-brand span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}
.admin-nav { list-style: none; padding: 0; }
.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.admin-nav li a:hover,
.admin-nav li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-right: 3px solid var(--orange);
}
.admin-nav li a i { width: 20px; text-align: center; }
.admin-nav-divider {
  margin: 12px 24px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-main {
  background: var(--gray-50);
  padding: 32px;
  overflow-y: auto;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 {
  font-size: 1.75rem;
}
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.stat-card-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.stat-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-card-change {
  font-size: 0.8rem;
  margin-top: 4px;
}
.stat-card-change.positive { color: var(--success); }

/* Admin Tables */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.admin-card-header h3 { font-size: 1.1rem; }
.admin-card-body { padding: 24px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.admin-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.admin-table tr:hover td { background: var(--gray-50); }

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-new { background: var(--info-bg); color: var(--info); }
.status-reviewing { background: var(--warning-bg); color: var(--warning); }
.status-contacted, .status-in-progress { background: #F0F9FF; color: #0284C7; }
.status-quoted, .status-approved, .status-replied { background: var(--success-bg); color: var(--success); }
.status-closed, .status-archived { background: var(--gray-100); color: var(--gray-500); }
.status-rejected, .status-declined { background: var(--error-bg); color: var(--error); }
.status-read { background: #F5F3FF; color: #7C3AED; }
.status-needs-info { background: var(--orange-light); color: var(--orange); }

/* Admin Detail Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 1.15rem; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
}
.modal-close:hover { color: var(--gray-700); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.detail-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
}
.detail-value {
  font-size: 0.9rem;
  color: var(--gray-800);
}

/* Admin Search & Filters */
.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.admin-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  outline: none;
}
.admin-search input:focus { border-color: var(--blue); }
.admin-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}
.admin-filter select {
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--white);
  cursor: pointer;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
}
.pagination button {
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.pagination button:hover { border-color: var(--navy); color: var(--navy); }
.pagination button.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Admin Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-400);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; }
.empty-state h4 { color: var(--gray-500); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
  max-width: 400px;
}
.toast-success { background: var(--success); }
.toast-error { background: var(--error); }
.toast-info { background: var(--info); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 260px;
    z-index: 1001;
    transition: left var(--transition);
  }
  .admin-sidebar.open { left: 0; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.75rem; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .header-actions { display: none; }
  .main-nav.open .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
  }

  .logo-text { font-size: 0.9rem; }
  .logo-text span { font-size: 0.55rem; }

  .hero { min-height: 500px; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content .hero-tagline { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .page-hero h1 { font-size: 2rem; }

  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-section.reverse .split-img { order: 1; }
  .split-section.reverse .split-content { order: 2; }

  .audience-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 32px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }

  .service-list { grid-template-columns: 1fr; }

  .cta-inner h2 { font-size: 1.75rem; }

  .detail-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr; }

  .admin-table { font-size: 0.8rem; }
  .admin-table th, .admin-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 1.85rem; }
  .logo-text { font-size: 0.95rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cta-banner, .btn { display: none; }
}
