/**
 * Discover Islam — Base & Reset Styles
 */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Atmosphere Glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 82% 85%, rgba(19, 93, 71, 0.16) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Skip Navigation */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand-accent-gold);
  color: #05241b;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 180ms ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Layout Containers */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 72px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Arabic Text Typography */
.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  line-height: 2.2;
}

/* Section Header Standards */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-accent-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none !important;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-accent-gold);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--brand-accent-gold);
  color: #06231b !important;
  border-color: var(--brand-accent-gold);
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--brand-accent-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary) !important;
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--brand-accent-gold);
  background: var(--brand-accent-gold-soft);
  color: var(--brand-accent-gold) !important;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary) !important;
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--text-primary) !important;
  background: var(--bg-surface-elevated);
}

.btn--sm {
  padding: 7px 16px;
  font-size: 0.86rem;
}

.btn--lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

