/* Shared styles for sub-pages (services, portfolio, about, etc.)
   Works across all template types (starter, professional, operations).
   Loaded by all base templates so sub-pages render consistently. */

/* Variables that sub-page templates rely on (operations defines these,
   professional/starter may not) */
:root {
  --navy: var(--gray-900, #0F172A);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section */
.section {
  padding: 4rem 0;
}
.section.bg-gray {
  background: var(--gray-50);
}

/* Page hero banner */
.storefront-hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  padding: 4rem 0 3rem;
  position: relative;
}

/* Card */
.storefront-card {
  background: var(--white, #fff);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid var(--gray-100);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
}
.empty-state-icon {
  margin-bottom: 1rem;
}
.empty-state-icon .material-symbols-outlined {
  font-size: 3rem;
  color: var(--gray-300);
}

/* Rich text content */
.rich-text-content p { margin-bottom: 0.75rem; }
.rich-text-content p:last-child { margin-bottom: 0; }

/* Buttons for sub-pages */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 150ms ease;
}
.btn-primary {
  background: var(--teal, #0D9488);
  color: white;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-sm {
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
}
