/* ZBR Electricals — base styles, custom component classes, animations
   (Tailwind CDN handles utility classes; this file covers the bits
   the original project defined via @layer components in Tailwind config) */

:root {
  --navy-950: #0a1929;
  --navy-900: #102a43;
  --navy-800: #243b53;
  --navy-700: #334e68;
  --navy-600: #486581;
  --navy-500: #627d98;
  --navy-400: #829ab1;
  --navy-300: #9fb3c8;
  --navy-200: #bcccdc;
  --navy-100: #d9e2ec;
  --navy-50:  #f0f4f8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--navy-900);
  background-color: #ffffff;
}

.font-display {
  font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* Layout container used across every section */
.container-page {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-page { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-page { padding-left: 2rem; padding-right: 2rem; }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: #f59e0b; /* amber-500 */
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary:hover { background-color: #d97706; box-shadow: 0 6px 18px 0 rgba(245,158,11,0.35); }
.btn-primary:active { transform: scale(0.96); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 2px solid var(--navy-200);
  background-color: #fff;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-secondary:hover { background-color: var(--navy-50); border-color: var(--navy-300); }
.btn-secondary:active { transform: scale(0.96); }

/* Card */
.card {
  display: block;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--navy-100);
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(16, 42, 67, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: 0 10px 25px -5px rgba(16, 42, 67, 0.1), 0 8px 10px -6px rgba(16,42,67,0.08); }

/* Form fields */
.input-field {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--navy-200);
  background-color: #fff;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-field::placeholder { color: var(--navy-400); }
.input-field:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}
.input-field.border-red-400 { border-color: #f87171; }

/* Section headings */
.section-title {
  font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-500);
}

/* Line clamp helpers (Tailwind CDN includes line-clamp plugin by default in v3.3+, kept as fallback) */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.animate-fade-in { animation: fadeIn 0.25s ease-out both; }
.animate-slide-down { animation: slideDown 0.2s ease-out both; }

/* Brand wordmark cards (no logo image assets were provided in the source project) */
.brand-mark {
  font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}

/* Lucide icons default to currentColor + 1.5 stroke; keep them crisp inline */
svg.lucide { display: inline-block; vertical-align: middle; }
