/* =============================================
   MAIN STYLESHEET
   Mark W. Romanowitz Art Portfolio
   
   This file imports all CSS modules in the correct order.
   Link to this file in your HTML: <link rel="stylesheet" href="/css/main.css">
   ============================================= */

/* 1. Variables - Design tokens (colors, spacing, typography) */
@import url('variables.css');

/* 2. Reset - Browser normalization */
@import url('reset.css');

/* 3. Layout - Page structure, grid system, header/footer */
@import url('layout.css');

/* 4. Components - Reusable UI elements */
@import url('components.css');

/* =============================================
   CUSTOM PAGE-SPECIFIC STYLES
   Add any one-off styles below
   ============================================= */

/* Typography Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }

.text-primary { color: var(--color-brand-primary); }
.text-secondary { color: var(--color-brand-secondary); }
.text-muted { color: var(--color-text-secondary); }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-normal { font-weight: var(--font-weight-normal); }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }

/* Display Utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Gap Utilities */
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Width Utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }

.max-w-sm { max-width: 640px; }
.max-w-md { max-width: 768px; }
.max-w-lg { max-width: 1024px; }
.max-w-xl { max-width: 1280px; }

/* Page Heading Styles */
.page-title {
  font-size: var(--font-size-3xl);
  color: var(--color-brand-primary);
  margin-bottom: var(--space-6);
  text-align: center;
}

.page-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: var(--font-size-2xl);
  color: var(--color-brand-primary);
  margin-bottom: var(--space-6);
}

/* Content Formatting */
.content-text {
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
}

.content-text p {
  margin-bottom: var(--space-4);
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text h2 {
  font-size: var(--font-size-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content-text h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.content-text ul,
.content-text ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.content-text ul {
  list-style: disc;
}

.content-text ol {
  list-style: decimal;
}

.content-text li {
  margin-bottom: var(--space-2);
}

.content-text a {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.content-text a:hover {
  color: var(--color-brand-secondary);
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--color-border-light);
  margin: var(--space-8) 0;
}

/* Responsive Utilities */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-tablet { display: none !important; }
  
  .page-title {
    font-size: var(--font-size-4xl);
  }
}

@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
}