/* ==========================================================================
   CSS Reset — Kokoro Design System
   Modern reset based on Josh Comeau's custom CSS reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection color */
::selection {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   Touch UX (Faza 6 — Issue 11)
   touch-action: manipulation NU dezactivează pinch-zoom global, doar
   double-tap-to-zoom local pe elementele interactive — a11y preserved.
   ========================================================================== */

* {
  -webkit-tap-highlight-color: rgba(21, 101, 192, 0.15); /* primary cu alpha */
}

.btn,
.kokoro-menu__link,
.navbar a,
.kokoro-sticky-cta__btn,
.whatsapp-float,
.skip-link,
.footer__link,
.footer__social-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
