/* ============================================
   ALATAA GROUP — Base Styles & Typography
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700;800&family=Cairo:wght@400;500;600;700&display=swap');

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-1);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Arabic font override */
[lang="ar"], [lang="ar"] * {
  font-family: var(--font-arabic);
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* --- Typography Hierarchy --- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-1);
}

h1 {
  font-size: clamp(var(--text-5xl), 7vw, var(--text-8xl));
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-body);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: 600;
  line-height: 1.3;
}

p {
  color: var(--color-text-2);
  line-height: 1.75;
  font-size: var(--text-base);
}

/* --- Section Label (SMALL ALL CAPS) --- */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}

/* --- Accent Line --- */
.accent-line {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--space-6) 0;
  display: block;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Blockquote --- */
blockquote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  background: rgba(201,168,76,0.06);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-text-1);
  line-height: 1.6;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}
