/*
Theme Name: TondeSoft Enterprise
Theme URI: https://www.tondesoft.com
Author: TondeSoft
Author URI: https://www.tondesoft.com
Description: Official enterprise theme for TondeSoft — Total IT Solutions & Software Development Powerhouse. The home page covers Company/About/Mission/Vision; Software Systems, SaaS Plans, Core Services and Contact each have their own dedicated page.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tondesoft
*/

:root {
  --tds-emerald-50: #ecfdf5;
  --tds-emerald-100: #d1fae5;
  --tds-emerald-200: #a7f3d0;
  --tds-emerald-400: #34d399;
  --tds-emerald-600: #059669;
  --tds-emerald-700: #047857;
  --tds-emerald-800: #065f46;
  --tds-emerald-950: #022c22;
  --tds-slate-50: #f8fafc;
  --tds-slate-100: #f1f5f9;
  --tds-slate-200: #e2e8f0;
  --tds-slate-300: #cbd5e1;
  --tds-slate-400: #94a3b8;
  --tds-slate-500: #64748b;
  --tds-slate-600: #475569;
  --tds-slate-700: #334155;
  --tds-slate-800: #1e293b;
  --tds-slate-900: #0f172a;
  --tds-font-scale: 1;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--tds-font-scale));
}

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: var(--tds-slate-100);
  color: var(--tds-slate-800);
}

.font-scale-compact { --tds-font-scale: 0.92; }
.font-scale-standard { --tds-font-scale: 1; }
.font-scale-large { --tds-font-scale: 1.1; }
.font-scale-xl { --tds-font-scale: 1.2; }

.shadow-2xs { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }

/* Modal */
.tds-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(3px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.tds-modal-overlay.is-open { display: flex; }
.tds-modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

/* Speed dial dock label expand */
.tds-dock-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .3s ease;
}
.tds-dock-item:hover .tds-dock-label { max-width: 220px; }

/* Utility line-clamp fallback (Tailwind CDN already supports line-clamp plugin only via core in v3+, keep fallback) */
.tds-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
