/* Brand palette and shared UI treatments for the DE-LAMPTEY LIMITED site. */
:root {
  --charcoal: #0f172a;
  --charcoal-2: #111827;
  --slate: #1f2937;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --light: #f8fafc;
}

/* Smooth scrolling for in-page anchor navigation. */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #0b0f14;
  background: #f8fafc;
  transition: background-color 250ms ease, color 250ms ease;
}

.font-display {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.bg-atmosphere {
  background-image:
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.12), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(31, 41, 55, 0.12), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72));
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: background-color 250ms ease, border-color 250ms ease;
}

.card-shadow {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.accent-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.section-title {
  letter-spacing: -0.02em;
}

.nav-blur {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  transition: background-color 250ms ease, border-color 250ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
  border: 1px solid #e2e8f0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.image-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.stat-card {
  background: #0f172a;
  color: #f8fafc;
}

.gradient-border {
  border: 1px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(15, 23, 42, 0.8)) border-box;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 600ms ease;
}

.slider-slide {
  min-width: 100%;
}

.slider-controls button {
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: all 200ms ease;
}

.slider-controls button:hover {
  background: #0f172a;
  color: #ffffff;
}

.footer-dark {
  background: #0b0f14;
  color: #e2e8f0;
}

.placeholder-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f59e0b;
}

.logo-pill {
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #1f2937;
}

.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.logo-card img {
  height: 56px;
  width: auto;
  display: block;
}

.timeline-step {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.88);
}

.timeline-index {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: 9999px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 16px 35px rgba(22, 163, 74, 0.35);
  z-index: 60;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(22, 163, 74, 0.4);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: #1f2937;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.theme-toggle-icon {
  display: inline-flex;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: inline-flex;
}

[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

[data-theme="dark"] body {
  color: #e2e8f0;
  background: #0b0f14;
}

[data-theme="dark"] .bg-atmosphere {
  background-image:
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.18), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(148, 163, 184, 0.18), transparent 35%),
    linear-gradient(180deg, #0b0f14 0%, #0f172a 100%);
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.78));
}

[data-theme="dark"] .glass-card {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .card-shadow {
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.5);
}

[data-theme="dark"] .nav-blur {
  background: rgba(15, 23, 42, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .accent-badge {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

[data-theme="dark"] .gradient-border {
  background: linear-gradient(#0b0f14, #0b0f14) padding-box,
    linear-gradient(135deg, rgba(245, 158, 11, 0.75), rgba(148, 163, 184, 0.7)) border-box;
}

[data-theme="dark"] .slider-controls button {
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .slider-controls button:hover {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme="dark"] .btn-secondary {
  border-color: rgba(148, 163, 184, 0.3);
}

[data-theme="dark"] .btn-secondary.bg-white {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
}

[data-theme="dark"] .image-frame {
  border-color: rgba(148, 163, 184, 0.25);
}

[data-theme="dark"] .bg-white {
  background-color: rgba(15, 23, 42, 0.75);
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-slate-100,
[data-theme="dark"] .border-slate-200,
[data-theme="dark"] .border-slate-300,
[data-theme="dark"] .border-slate-400 {
  border-color: rgba(148, 163, 184, 0.25);
}

[data-theme="dark"] .text-slate-200 {
  color: #e2e8f0;
}

[data-theme="dark"] .text-slate-300 {
  color: #cbd5e1;
}

[data-theme="dark"] .text-slate-500 {
  color: #94a3b8;
}

[data-theme="dark"] .text-slate-600 {
  color: #cbd5e1;
}

[data-theme="dark"] .text-slate-700 {
  color: #e2e8f0;
}

[data-theme="dark"] .text-slate-900 {
  color: #f8fafc;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
  background-color: #0f172a;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
}

[data-theme="dark"] .logo-pill {
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.25);
}

[data-theme="dark"] .logo-card {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.25);
}

[data-theme="dark"] .timeline-step {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .timeline-index {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

@media (max-width: 768px) {
  .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.78));
  }
  
  /* Hide WhatsApp button on mobile to save screen space */
  .whatsapp-float {
    display: none;
  }
}
