/* ============================================
   AsilMedia v2 — Base Styles
   ============================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-bold.woff2') format('woff2');
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}

/* Typography */
h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-xl);  line-height: var(--lh-tight); }
h4 { font-size: var(--fs-lg);  line-height: var(--lh-tight); }
h5 { font-size: var(--fs-md);  line-height: var(--lh-tight); }
h6 { font-size: var(--fs-base); line-height: var(--lh-tight); }

a {
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent);
}

p + p {
  margin-top: var(--sp-4);
}

strong, b {
  font-weight: var(--fw-bold);
}

small {
  font-size: var(--fs-sm);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-tertiary);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-xs);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-6) 0;
}

/* Inline SVG icons */
.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }

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

/* Image cover helper */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
