/* CH-Verken Custom Styles - Greyscale Minimal */

:root {
  --surface: #f1f1f1;
  --gray-50: #f7f7f7;
  --gray-100: #ededed;
  --gray-200: #d4d4d4;
  --gray-400: #8a8a8a;
  --gray-600: #575757;
  --gray-700: #434343;
  --gray-800: #2f2f2f;
  --gray-900: #181818;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background: var(--surface);
}

/* Light-only setup */
#theme-toggle {
  display: none !important;
}

/* Greyscale color mapping for existing utility classes */
.bg-brand,
.bg-brand-light,
.bg-brand-dark,
.hover\:bg-brand-dark:hover,
.hover\:bg-brand:hover,
.w-16.h-16.bg-brand {
  background-color: var(--gray-800) !important;
}

.text-brand,
.text-brand-light,
.text-brand-dark,
.text-green-500,
.hover\:text-brand-dark:hover,
.hover\:text-brand:hover {
  color: var(--gray-700, #4a4a4a) !important;
}

.border-brand\/20,
.focus\:border-brand:focus {
  border-color: var(--gray-400) !important;
}

.focus\:ring-brand\/20:focus {
  --tw-ring-color: rgba(120, 120, 120, 0.2) !important;
}

/* Uniform page surface */
section.bg-white,
section.bg-steel-50,
section.bg-steel-900,
section.bg-brand,
footer.bg-steel-900 {
  background-color: var(--surface) !important;
}

section.bg-steel-900,
section.bg-brand,
footer.bg-steel-900 {
  color: var(--gray-900) !important;
}

section.bg-steel-900 .text-white,
section.bg-brand .text-white,
footer.bg-steel-900 .text-white {
  color: var(--gray-900) !important;
}

/* Keep white text where dark fills are intentional (buttons, numbered badges, logo tiles). */
a.bg-brand.text-white,
button.bg-brand.text-white,
.bg-brand.text-white,
.w-16.h-16.bg-brand.text-white,
.w-10.h-10.bg-brand .text-white {
  color: #ffffff !important;
}

section.bg-steel-900 .text-steel-300,
section.bg-brand .text-steel-300,
section.bg-brand .text-steel-400,
section.bg-brand .text-steel-500,
footer.bg-steel-900 .text-steel-300,
footer.bg-steel-900 .text-steel-400,
footer.bg-steel-900 .text-steel-500 {
  color: var(--gray-600) !important;
}

section.bg-brand .border-white\/50 {
  border-color: var(--gray-400) !important;
}

section.bg-brand .hover\:bg-white\/10:hover {
  background-color: var(--gray-100) !important;
}

/* Neutralize Tailwind steel palette remnants to remove blue cast. */
.text-steel-900 { color: var(--gray-900) !important; }
.text-steel-800 { color: var(--gray-800) !important; }
.text-steel-700 { color: var(--gray-700) !important; }
.text-steel-600 { color: var(--gray-600) !important; }
.text-steel-500,
.text-steel-400,
.text-steel-300 { color: var(--gray-600) !important; }

.bg-steel-50,
.bg-steel-100,
.bg-steel-900 { background-color: var(--surface) !important; }

.border-steel-100,
.border-steel-200,
.border-steel-500,
.border-steel-800 { border-color: var(--gray-400) !important; }

/* Hero and atmospheric elements */
.hero-overlay {
  background: linear-gradient(130deg, rgba(235, 235, 235, 0.92) 0%, rgba(245, 245, 245, 0.9) 100%);
}

/* Subtle animation only */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.45s ease-out forwards;
}

.animate-delay-100 { animation-delay: 0.08s; }
.animate-delay-200 { animation-delay: 0.14s; }
.animate-delay-300 { animation-delay: 0.2s; }
.animate-delay-400 { animation-delay: 0.26s; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--gray-600);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.mobile-menu.open {
  max-height: 400px;
}

.stat-number {
  color: var(--gray-900);
}

.img-placeholder {
  background: linear-gradient(90deg, var(--gray-100) 20%, #f1f1f1 50%, var(--gray-100) 80%);
  background-size: 200% 100%;
  animation: shimmer 2.4s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn-glow {
  box-shadow: none;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-glow:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.section-divider {
  width: 52px;
  height: 2px;
  background: var(--gray-600);
  border-radius: 1px;
}

/* Remove colorful decorative blobs in hero */
.bg-brand\/10,
.bg-brand\/20 {
  opacity: 0.08 !important;
}

/* Keep global transitions subtle and consistent */
body, nav, section, footer, input, textarea, .service-card, a, button {
  transition: background-color 0.2s ease, color 0.15s ease, border-color 0.2s ease;
}

@media print {
  nav, .mobile-menu, .btn-glow { display: none; }
  .hero-overlay { background: #2f2f2f; }
}
