/**
 * Shirkat Al Nahal — Base Styles & Typography Reset
 */

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

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

body {
  background-color: var(--cream-50);
  color: var(--brown-900);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: 1%;
  padding-right: 1%;
  box-sizing: border-box;
}

/* Container Constraint Rule */
.shirkat-container {
  width: min(98%, var(--container-max));
  margin-inline: auto;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brown-900);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--space-16);
  color: var(--brown-800);
}

a {
  color: var(--amber-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--amber-700);
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style-position: inside;
}

/* Screen reader text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
