/* ============================================================
   KILTED KREATION — styles
   Plain CSS, no build step. Mobile-first.
   Brand: bold yellow + deep purple tartan, gold knotwork trim.
   ============================================================ */

:root {
  --yellow: #f5c518;
  --yellow-bright: #ffd83d;
  --purple: #3d0a4e;
  --purple-deep: #2a0636;
  --purple-ink: #1c0426;
  --gold: #d4a017;
  --gold-light: #f0c94a;
  --cream: #fff8e7;
  --ink: #14100a;
  --radius: 12px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--purple-ink);
}

h1, h2, h3, .brand {
  font-family: Georgia, "Times New Roman", "Nimbus Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 {
  font-size: 2rem;
  color: var(--gold-light);
  text-align: center;
  text-shadow: 2px 2px 0 var(--purple-ink);
}

h3 { font-size: 1.25rem; }

a { color: var(--yellow-bright); }

img { max-width: 100%; height: auto; display: block; }

.section {
  padding: 3rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-lead {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.about-text {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ---------- tartan (pure CSS, no images) ---------- */

.tartan {
  background-color: var(--purple);
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0 30px,
      rgba(245, 197, 24, 0.92) 30px 52px,
      transparent 52px 86px),
    repeating-linear-gradient(90deg,
      transparent 0 30px,
      rgba(245, 197, 24, 0.92) 30px 52px,
      transparent 52px 86px),
    repeating-linear-gradient(0deg,
      transparent 0 8px,
      rgba(10, 4, 14, 0.6) 8px 14px,
      transparent 14px 56px),
    repeating-linear-gradient(90deg,
      transparent 0 8px,
      rgba(10, 4, 14, 0.6) 8px 14px,
      transparent 14px 56px);
}

.tartan-sm {
  background-color: var(--purple);
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0 14px,
      rgba(245, 197, 24, 0.9) 14px 24px,
      transparent 24px 40px),
    repeating-linear-gradient(90deg,
      transparent 0 14px,
      rgba(245, 197, 24, 0.9) 14px 24px,
      transparent 24px 40px);
}

/* ---------- Celtic knotwork trim (stylized interlace) ---------- */

.knotwork {
  height: 30px;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  background-color: var(--purple-deep);
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0 9px,
      var(--gold) 9px 13px,
      transparent 13px 22px),
    repeating-linear-gradient(-45deg,
      transparent 0 9px,
      var(--gold-light) 9px 13px,
      transparent 13px 22px);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--purple-ink);
  border-bottom: 3px solid var(--gold);
}

.brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.site-header nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.site-header nav a.nav-cta {
  background: var(--yellow);
  color: var(--purple-ink);
}

/* ---------- hero ---------- */

.hero {
  padding: 0;
  border-bottom: 3px solid var(--gold);
}

.hero-band {
  background: rgba(20, 4, 28, 0.88);
  margin: 0;
  padding: 3.5rem 1.25rem;
  text-align: center;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  color: var(--gold-light);
  text-shadow: 3px 3px 0 var(--purple-ink), 0 0 24px rgba(240, 201, 74, 0.35);
  margin-bottom: 0.15em;
}

.tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 5vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-bright);
  margin: 0 0 0.5em;
}

.hero-sub {
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 22rem;
  margin: 0 auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9rem 1.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius);
  border: 3px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: var(--yellow);
  color: var(--purple-ink);
  border-color: var(--purple-ink);
}

.btn-outline {
  background: transparent;
  color: var(--yellow-bright);
  border-color: var(--yellow);
}

.btn-block { width: 100%; }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--purple-deep);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.photo-placeholder span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 1.3rem;
  color: var(--purple-ink);
  background: rgba(245, 197, 24, 0.92);
  padding: 0.6rem 1.2rem;
  border: 3px solid var(--purple-ink);
  border-radius: 8px;
  line-height: 1.4;
}

.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.card-body { padding: 1.1rem 1.25rem 1.4rem; }

.card-body h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.25em;
}

.badge {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background: var(--yellow);
  color: var(--purple-ink);
  border-radius: 999px;
  padding: 0.2em 0.7em;
  vertical-align: middle;
  margin-left: 0.4em;
}

.card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow-bright);
  margin: 0 0 0.3em;
}

.card .desc { margin: 0; font-size: 1rem; }

/* ---------- prices ---------- */

.price-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.price-group {
  background: var(--purple-deep);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.price-group h3 {
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4em;
}

.price-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-group li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(212, 160, 23, 0.35);
  font-size: 1.05rem;
}

.price-group li:last-child { border-bottom: none; }

.price-group li span:last-child {
  font-weight: 800;
  color: var(--yellow-bright);
  white-space: nowrap;
}

.price-group .note { font-style: italic; opacity: 0.85; font-size: 0.95rem; }

/* ---------- markets ---------- */

.market-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.market-card {
  background: var(--purple-deep);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.market-card h3 { color: var(--gold-light); }

.market-dates {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--yellow-bright);
  margin: 0.4em 0;
}

.market-place { margin: 0; font-size: 1.05rem; }

/* ---------- contact form ---------- */

#order-form {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--purple-deep);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.field { margin-bottom: 1.2rem; }

.field label {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--gold-light);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  font-size: 1.1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 3px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-status {
  min-height: 1.5em;
  font-weight: 700;
  margin: 0 0 1rem;
}

.form-status.ok { color: var(--yellow-bright); }
.form-status.err { color: #ff9d9d; }

.direct-email {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.direct-email a {
  font-size: 1.35rem;
  font-weight: 800;
  word-break: break-all;
}

/* ---------- footer ---------- */

.site-footer {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  background: var(--purple-ink);
  font-size: 1.05rem;
}

.site-footer p { margin: 0.25em 0; }

.footer-sub {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ---------- wider screens ---------- */

.order-banner {
  background: var(--purple);
  color: var(--yellow-bright);
  font-weight: bold;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 0.5rem;
  margin: 0.5rem 0 1rem;
  font-size: 1.15rem;
  border: 2px solid var(--yellow-bright);
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .price-groups { grid-template-columns: repeat(2, 1fr); }
  .market-list { grid-template-columns: repeat(3, 1fr); }
  .hero-actions { flex-direction: row; max-width: none; justify-content: center; }
}

@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .price-groups { grid-template-columns: repeat(3, 1fr); }
  .site-header nav a { font-size: 1.05rem; padding: 0.65rem 1rem; }
}
