/* Magnolia Park Lock Shop - mpls1932.com
   Look carried over from the 2013-2017 site: white header, gold "decades" band,
   maroon nav bar with light green tabs, light green page, white rounded boxes. */

:root {
  --maroon: #5a1f33;
  --maroon-dark: #3a1220;
  --red: #a3141c;
  --gold-dark: #6a4c00;
  --gold: #b68600;
  --gold-light: #e9d79c;
  --green-page: #e6eee1;
  --green-tab: #e3efd9;
  --green-tab-hover: #ffffff;
  --green-line: #4d7a2a;
  --border: #c9d6c0;
  --text: #222;
  --muted: #555;
  --link: #1f5fa8;
  --blue: #1f58b5;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--green-page);
  color: var(--text);
  font: 15px/1.6 Verdana, Geneva, Tahoma, sans-serif;
}

a { color: var(--link); }
a:hover { color: var(--maroon); }

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

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: transparent;
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(#c2c2c2 0, #f4f4f4 14px, #fff 20px, #fff 88%, #ececec 100%);
  border: 1px solid #b8b8b8;
  border-bottom: 0;
  margin-top: 12px;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 12px;
}

.logo { flex: 0 1 470px; }
.logo img { width: 100%; }

.header-phone {
  text-align: right;
  flex: 0 0 auto;
}
.header-phone .call-label {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  color: #2e3a8c;
  font-size: 19px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.header-phone .call-label b { color: var(--gold); font-size: 24px; }
.header-phone a.phone {
  display: block;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.05;
  color: var(--red);
  text-decoration: none;
  text-shadow: 1px 1px 0 #fff, 2px 2px 3px rgba(0,0,0,.25);
}
.header-phone .area {
  font-size: 13px;
  color: #444;
}

/* Gold band */
.band {
  background:
    linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,240,190,.45) 52%, rgba(255,255,255,0) 70%),
    linear-gradient(#7a5a05 0%, #b68600 35%, #9c7600 60%, #5f4700 100%);
  padding: 8px 24px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.band .big {
  font-family: "Josefin Sans", "Century Gothic", sans-serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  margin: 0;
}
.band .big strong { font-weight: 600; color: #fff6d8; }
.band .sub {
  font-family: "Cabin", "Gill Sans", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--maroon-dark);
  margin: 6px 0 0;
}
.band .since {
  font-family: "Cabin", "Gill Sans", sans-serif;
  color: #fff;
  text-align: right;
  line-height: 1;
}
.band .since em {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-style: normal;
  font-size: 18px;
  color: #e3e3f5;
}
.band .since span {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}
.band .since small { font-size: 22px; font-style: italic; font-weight: 700; }

/* ---------- Nav ---------- */
.nav {
  background: linear-gradient(#6b2a40, var(--maroon) 50%, #2a0c16);
  padding: 8px 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid #b8b8b8;
  border-top: 0;
}
.nav a {
  display: block;
  padding: 7px 14px 6px;
  background: linear-gradient(#ffffff, var(--green-tab));
  border: 1px solid #9fb88e;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: #222;
  text-decoration: none;
  font: 700 13px/1.4 Verdana, Geneva, sans-serif;
  text-transform: uppercase;
}
.nav a:hover { background: var(--green-tab-hover); }
.nav a.active {
  background: var(--green-line);
  color: #fff;
  border-color: var(--green-line);
}
.nav a.home-icon { padding: 7px 12px 6px; }
.nav a.home-icon svg { width: 15px; height: 15px; vertical-align: -2px; fill: currentColor; }

/* ---------- Layout ---------- */
.content {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 12px;
  padding: 12px 0;
}

.box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 24px;
}
.box + .box { margin-top: 12px; }

aside .box { padding: 14px 16px; }
aside h3 {
  margin: -14px -16px 12px;
  padding: 8px 16px;
  font: 700 13px Verdana, sans-serif;
  border-bottom: 1px dotted var(--border);
  color: #333;
}

h1, h2, h3.title {
  font-family: "Francois One", "Arial Narrow", sans-serif;
  font-weight: 400;
  color: #111;
  line-height: 1.2;
}
h1 { font-size: 30px; margin: 0 0 6px; }
h2 { font-size: 23px; margin: 26px 0 10px; color: #2b2b2b; }
h1 + h2 { margin-top: 4px; }
.lead { font-size: 16px; }

/* Call box */
.callbox {
  text-align: center;
  background: linear-gradient(#fff, #f3f7ef);
}
.callbox .seal {
  width: 120px;
  height: 120px;
  margin: 4px auto 10px;
  border-radius: 50%;
  border: 4px double var(--maroon);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-family: "Francois One", sans-serif;
  line-height: 1;
  background: #fff;
}
.callbox .seal b { font-size: 46px; font-weight: 400; color: var(--blue); }
.callbox .seal span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.callbox p { margin: 6px 0; }
.btn {
  display: inline-block;
  background: linear-gradient(#c21b24, #8e0f16);
  color: #fff !important;
  text-decoration: none;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .5px;
  padding: 8px 18px;
  border-radius: 6px;
  box-shadow: 0 2px 0 #5d0a0f;
}
.btn:hover { filter: brightness(1.08); }
.btn.small { font-size: 17px; padding: 6px 14px; }

ul.plain { margin: 0; padding-left: 18px; }
ul.plain li { margin: 3px 0; }

.facts { font-size: 13px; color: var(--muted); }
.facts p { margin: 4px 0; }

/* Service grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.service {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s;
}
.service:hover { box-shadow: 0 3px 10px rgba(0,0,0,.15); color: var(--text); }
.service img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-bottom: 1px solid #eee; }
.service h3 {
  margin: 10px 12px 2px;
  font: 400 18px "Francois One", sans-serif;
  color: var(--maroon);
}
.service p { margin: 0 12px 12px; font-size: 13px; color: var(--muted); }

/* Detail sections on service pages */
.detail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px dotted var(--border);
}
.detail:first-of-type { border-top: 0; }
.detail img { border: 1px solid #eee; border-radius: 4px; }
.detail h2 { margin-top: 0; }
.detail ul { margin: 6px 0 0; padding-left: 18px; }

.cta-strip {
  margin-top: 22px;
  padding: 16px 18px;
  background: #f6f2e4;
  border: 1px solid #e3d6a8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-strip p { margin: 0; font-weight: 700; }

/* About page history photo-free timeline */
.timeline { list-style: none; padding: 0; margin: 10px 0 0; }
.timeline li {
  padding: 0 0 12px 76px;
  position: relative;
}
.timeline li b {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Francois One", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--maroon);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--green-line);
  padding: 10px 4px 30px;
  font-size: 12px;
  color: #444;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer a { color: #444; }

/* Sticky call bar on phones */
.mobile-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .content { grid-template-columns: 1fr; }
  .header-top { flex-direction: column; text-align: center; }
  .logo { flex: none; width: 100%; max-width: 470px; }
  .header-phone { text-align: center; }
  .header-phone a.phone { font-size: 44px; }
  .band { justify-content: center; text-align: center; }
  .band .big { font-size: 32px; }
  .band .since { text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .wrap { padding: 0 8px; }
  .header-top { padding: 16px 12px 8px; }
  .header-phone a.phone { font-size: 38px; }
  .band .big { font-size: 26px; }
  .band .since span { font-size: 24px; }
  .nav a { padding: 6px 9px 5px; font-size: 11px; }
  .box { padding: 16px; }
  h1 { font-size: 25px; }
  .detail { grid-template-columns: 1fr; }
  .detail img { max-width: 160px; }
  .services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service h3 { font-size: 16px; }
  .mobile-call {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--red);
    color: #fff;
    text-align: center;
    font: 600 20px/56px "Oswald", sans-serif;
    text-decoration: none;
    box-shadow: 0 -2px 8px rgba(0,0,0,.3);
    z-index: 10;
  }
}
