/* ============================================
   MAIN.CSS — Global reset + base styles
   Import order matters — always first after variables
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');
@import './variables.css';
@import './utilities.css';
@import './navbar.css';
@import './footer.css';
@import './hero.css';
@import './cards.css';
@import './forms.css';
@import './dashboard.css';

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- SECTION ---------- */
.section { padding: var(--section-pad) 5%; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  margin-top: var(--space-3);
  line-height: 1.7;
  max-width: 560px;
}
.section-head { margin-bottom: var(--space-12); }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 60px 5% 56px;
  margin-top: var(--nav-height);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-top: var(--space-3);
  max-width: 520px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .section { padding: 60px 4%; }
  .page-header { padding: 40px 4%; }
}
