/*
 * Route62.Online — assets/css/site.css
 * Shared styles for inner pages (non-homepage)
 * Header, footer, utility classes, page layout
 * Loaded on all non-front-page requests, deferred via performance.php
 * Version: 1.0.0
 */

/* ── Utility classes ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Text utilities ── */
.text-center { text-align: center; }
.text-muted { color: #7A6055; }
.text-small { font-size: 13px; }
.text-bold { font-weight: 700; }

/* ── Spacing utilities ── */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.px-2 { padding: 0 16px; }
.py-2 { padding: 16px 0; }

/* ── Divider line ── */
.divider {
  height: 1px;
  background-color: #E8DDD0;
  margin: 24px 0;
}

/* ── Section spacing ── */
section {
  padding: 48px 20px;
}

@media (min-width: 768px) {
  section {
    padding: 64px 20px;
  }
}

/* ── Article/post styles ── */
article {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

article h2 {
  margin-bottom: 12px;
  font-size: 28px;
  color: #1A0E08;
}

article p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ── Forms ── */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #E8DDD0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  background-color: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #C4521A;
  box-shadow: 0 0 0 3px rgba(196, 82, 26, 0.1);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1A0E08;
}

/* ── Buttons (secondary) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background-color: #C4521A;
  color: #FAF6F0;
}

.btn-primary:hover {
  background-color: #A3420E;
}

.btn-secondary {
  background-color: transparent;
  color: #C4521A;
  border-color: #C4521A;
}

.btn-secondary:hover {
  background-color: #F0D5C4;
}

.btn-ghost {
  background-color: transparent;
  color: #1A0E08;
  border-color: #1A0E08;
}

.btn-ghost:hover {
  background-color: #FAF6F0;
  color: #C4521A;
  border-color: #C4521A;
}

/* ── Page heading patterns ── */
.page-header {
  background: linear-gradient(135deg, #1A0E08 0%, #6B7F5E 100%);
  color: white;
  padding: 48px 20px;
  text-align: center;
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7A6055;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #C4521A;
}

.breadcrumb span {
  color: #E8DDD0;
}

/* ── Footer ── */
.site-footer {
  background-color: #E8DDD0;
  padding: 48px 20px 24px;
  margin-top: 64px;
}

.footer-bottom {
  background-color: #1A0E08;
  color: #FAF6F0;
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  color: #C8955A;
}

.footer-links a:hover {
  color: #C4521A;
}

/* ── Mobile nav bottom bar spacing ── */
@media (max-width: 991px) {
  body {
    padding-bottom: 72px;
  }
}
