/* ============================================
   FAIRE Subpage Styles
   ============================================ */

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, #0a0a2e 0%, #1a1a4e 30%, #0f3460 60%, #1a1a2e 100%);
  padding: 80px 50px 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(220, 39, 40, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 39, 40, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.page-hero .inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 16px;
}

.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 700px;
  font-style: italic;
}

.page-hero .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.page-hero .breadcrumb a:hover {
  color: #fff;
}

/* Content Sections */
.page-content {
  padding: 60px 0;
  background: #fff;
}

.page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #514d4d;
  margin-bottom: 20px;
  max-width: 800px;
}

.page-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  margin-top: 40px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  margin-top: 30px;
}

.page-content ul, .page-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  max-width: 800px;
}

.page-content li {
  font-size: 16px;
  line-height: 1.8;
  color: #514d4d;
  margin-bottom: 8px;
  list-style: disc;
}

.page-content ol li {
  list-style: decimal;
}

.page-content blockquote {
  border-left: 4px solid #DC2728;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f9f9f9;
  font-style: italic;
  max-width: 800px;
}

.page-content blockquote p {
  margin-bottom: 0;
}

/* Highlight / Callout Box */
.callout {
  background: #f1f1f1;
  border-left: 4px solid #DC2728;
  padding: 24px 30px;
  margin: 30px 0;
  max-width: 800px;
}

.callout h3 {
  margin-top: 0;
  color: #DC2728;
}

/* Card grid for subpages */
.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.page-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 30px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.page-card__icon {
  font-size: 50px;
  display: block;
  margin-bottom: 16px;
}

.page-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.page-card p {
  font-size: 14px;
  max-width: none;
}

.page-card a {
  color: #DC2728;
  font-weight: 700;
  text-decoration: underline;
}

/* Two-column layout */
.two-col {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.two-col__main {
  flex: 2;
}

.two-col__sidebar {
  flex: 1;
  background: #f9f9f9;
  padding: 30px;
  border: 1px solid #eee;
  align-self: flex-start;
}

.two-col__sidebar h3 {
  margin-top: 0;
}

/* Article list */
.article-list {
  list-style: none !important;
  padding-left: 0 !important;
}

.article-list li {
  list-style: none !important;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.article-list li:last-child {
  border-bottom: none;
}

.article-list .article-category {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #DC2728;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.article-list h3 {
  margin-top: 4px;
  margin-bottom: 4px;
}

.article-list h3 a {
  color: #333;
  transition: color 0.2s;
}

.article-list h3 a:hover {
  color: #DC2728;
}

.article-list .article-date {
  font-size: 13px;
  color: #999;
}

/* Form styles for subpages */
.page-form {
  max-width: 600px;
  margin: 30px 0;
}

.page-form label {
  display: block;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  margin-top: 20px;
}

.page-form input,
.page-form textarea,
.page-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 16px;
  outline: none;
}

.page-form input:focus,
.page-form textarea:focus {
  border-color: #DC2728;
}

.page-form textarea {
  min-height: 150px;
  resize: vertical;
}

.page-form button {
  margin-top: 20px;
  background: #DC2728;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.page-form button:hover {
  background: #b71c1c;
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 30px;
  margin: 40px 0;
  text-align: center;
}

.stat {
  flex: 1;
  padding: 30px;
  background: #f1f1f1;
}

.stat__number {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #DC2728;
  display: block;
}

.stat__label {
  font-size: 14px;
  color: #514d4d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Store product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.product-card__content {
  padding: 20px;
}

.product-card__price {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #DC2728;
  display: block;
  margin-top: 8px;
}

/* CTA banner for subpages */
.page-cta {
  background: linear-gradient(135deg, #0a0a2e, #0f3460);
  padding: 60px 0;
  text-align: center;
}

.page-cta h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 16px;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .page-card-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    flex-direction: column;
  }
  .stats-row {
    flex-direction: column;
  }
  .page-hero h1 {
    font-size: 32px;
  }
}
