/* Euro Mounts of Arkansas — hunting lodge theme */
:root {
  --bark: #140f0b;
  --bark-2: #221911;
  --leather: #4a3626;
  --timber: #6b4f36;
  --bone: #e9dfc9;
  --bone-2: #f6f1e6;
  --paper: #fbf8f1;
  --ink: #241c15;
  --muted: #7a6b5a;
  --olive: #4f5a35;
  --olive-2: #6d7a48;
  --blaze: #b4622a;       /* copper, from the logo ring */
  --blaze-dark: #924c1d;
  --copper-light: #d49a63;
  --danger: #a3301f;
  --ok: #3f6b2f;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(31, 24, 19, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Bitter', Georgia, serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blaze-dark); }
h1, h2, h3, .brand-name, .btn, legend, .stat-num, th { font-family: 'Oswald', Impact, sans-serif; letter-spacing: .02em; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.pre { white-space: pre-line; }
.inline { display: inline; }

/* Buttons */
.btn { display: inline-block; border: 0; cursor: pointer; padding: .6em 1.2em; border-radius: var(--radius); background: var(--leather); color: var(--bone-2); text-decoration: none; font-size: 1rem; text-transform: uppercase; font-weight: 500; line-height: 1.2; }
.btn:hover { filter: brightness(1.1); }
.btn-orange { background: var(--blaze); color: #fff; }
.btn-orange:hover { background: var(--blaze-dark); filter: none; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-paid { background: var(--ok); color: #fff; }
.btn-sm { font-size: .8rem; padding: .45em .8em; }
.btn-block { display: block; width: 100%; }
.linklike { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- Public header ---------- */
.site-header { background: var(--bark); color: var(--bone); border-bottom: 4px solid var(--blaze); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; }
.brand > span { display: flex; flex-direction: column; }
.brand img { border-radius: 50%; }
.brand-name { font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.brand-sub { font-size: .75rem; color: #b9a98d; text-transform: uppercase; letter-spacing: .15em; }
.site-nav, .admin-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a, .admin-nav a, .admin-nav .linklike { color: var(--bone); text-decoration: none; font-family: 'Oswald', sans-serif; text-transform: uppercase; padding: .5em .8em; border-radius: var(--radius); font-size: .95rem; }
.site-nav a:hover, .admin-nav a:hover, .site-nav a.active, .admin-nav a.active { background: rgba(233, 223, 201, .1); color: #fff; }
.site-nav a.btn-orange { background: var(--blaze); color: #fff; margin-left: 8px; }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 24px; height: 3px; background: var(--bone); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  color: var(--bone-2); padding: 56px 0 64px;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(180,98,42,.16) 0%, rgba(0,0,0,0) 55%),
    #000;
  border-bottom: 4px solid var(--blaze);
}
.hero-inner { display: grid; grid-template-columns: minmax(220px, 400px) 1fr; gap: 48px; align-items: center; }
.hero-logo { width: 100%; height: auto; }
.hero h1 { font-family: 'Rye', 'Oswald', serif; font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 400; margin-bottom: .2em; color: var(--bone-2); text-shadow: 0 3px 12px rgba(0,0,0,.6); }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; color: var(--copper-light); font-family: 'Oswald', sans-serif; margin: 0 0 1em; }
.hero-tag { font-size: 1.25rem; max-width: 560px; margin: 0 0 2em; color: var(--bone); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { color: var(--bone); }

.meet { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: 40px; align-items: center; }
.meet img { width: 100%; height: auto; border-radius: var(--radius); border: 6px solid var(--bone); box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: rotate(-1.5deg); }
.meet h2 { font-family: 'Rye', serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--bone-2); }
.meet p { font-size: 1.1rem; }

.page-hero { background: linear-gradient(160deg, #3a2819, #0b0806); border-bottom: 4px solid var(--blaze); color: var(--bone-2); padding: 56px 0 44px; text-align: center; }
.page-hero h1 { font-family: 'Rye', serif; font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
.page-hero p { color: var(--bone); margin: .5em 0 0; }

.section { padding: 64px 16px; }
.section-dark { background: var(--bark-2); color: var(--bone); }
.section-title { text-align: center; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1.2em; }
.section-title::after { content: ''; display: block; width: 70px; height: 4px; background: var(--blaze); margin: .4em auto 0; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid #e4dac5; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: var(--bone-2); font-family: 'Oswald'; font-size: 1.2rem; margin-bottom: 10px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 24px; }
.gallery-item { margin: 0; background: var(--bark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { color: var(--bone); padding: 8px 12px; font-size: .9rem; }

/* Pricing */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 28px; }
.price-card { background: #fff; border-top: 5px solid var(--blaze); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.price, .price-card .price { font-family: 'Oswald'; font-size: 2rem; color: var(--olive); font-weight: 700; }
.price-table { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px dashed #d9ccb2; }
.price-row:last-child { border-bottom: 0; }
.price-row h3 { margin: 0; }
.price-row p { margin: .2em 0 0; color: var(--muted); }
.price-row .price { white-space: nowrap; }
.pricing-note { max-width: 820px; margin: 20px auto 0; text-align: center; }
.notice { max-width: 820px; margin: 24px auto 0; background: #fff3e8; border-left: 5px solid var(--blaze); padding: 16px 20px; border-radius: var(--radius); }

/* About */
.about { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.about-body p { font-size: 1.1rem; }
.about-body p:first-child::first-letter { font-family: 'Rye', serif; font-size: 3.4rem; float: left; line-height: .9; margin: 6px 10px 0 0; color: var(--blaze-dark); }
.about-side { display: grid; gap: 22px; }
.polaroid { margin: 0; background: #fff; padding: 10px 10px 6px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.polaroid.tilt { transform: rotate(-2deg); }
.polaroid img { width: 100%; height: auto; }
.polaroid figcaption { font-family: 'Rye', serif; text-align: center; color: var(--leather); padding-top: 6px; }
.about-card { background: var(--bark); color: var(--bone); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-card a:not(.btn) { color: var(--bone); }

/* Footer */
.site-footer { background: var(--bark); color: #c9bba0; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 24px; padding: 40px 16px; }
.footer-brand { font-family: 'Rye', serif; color: var(--bone); font-size: 1.3rem; }
.site-footer a { color: var(--bone); }
.site-footer p { margin: .3em 0; }
.footer-bottom { text-align: center; padding: 14px; border-top: 1px solid #3a2e24; font-size: .85rem; }

/* ---------- Admin ---------- */
body.admin { background: #f3eee3; }
.admin-bar { background: var(--bark); color: var(--bone); display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; border-bottom: 4px solid var(--blaze); position: sticky; top: 0; z-index: 10; gap: 12px; }
.admin-bar .brand-name { font-size: 1.1rem; }
.admin-nav { flex-wrap: wrap; }
.admin-nav a, .admin-nav .linklike { font-size: .85rem; padding: .45em .7em; }
.admin-main { padding-top: 24px; padding-bottom: 60px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }

.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; border-left: 5px solid; }
.flash-success { background: #eaf2e4; border-color: var(--ok); }
.flash-error { background: #f8e4e0; border-color: var(--danger); }
.flash-info { background: #fff3e8; border-color: var(--blaze); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat { background: var(--bark); color: var(--bone); padding: 18px; border-radius: var(--radius); text-decoration: none; display: flex; flex-direction: column; border-bottom: 4px solid var(--olive-2); }
.stat:hover { border-bottom-color: var(--blaze); }
.stat-num { font-size: 2rem; color: #fff; }

.search-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.search-bar input[type=search] { flex: 1 1 320px; }

input, select, textarea { font: inherit; padding: .55em .7em; border: 1px solid #cdbfa3; border-radius: 6px; background: #fff; width: 100%; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blaze); outline-offset: 0; border-color: var(--blaze); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--blaze); }
label { display: block; font-weight: 600; font-size: .9rem; }
label > input, label > select, label > textarea, label > .money { margin-top: 4px; font-weight: 400; }
.search-bar select, .search-bar input { width: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid.narrow { max-width: 480px; grid-template-columns: 1fr; }
.span-all { grid-column: 1 / -1; }
fieldset { border: 1px solid #e0d4bd; border-radius: var(--radius); padding: 14px 16px 18px; margin: 0; }
fieldset.form-grid { padding-top: 6px; }
legend { text-transform: uppercase; color: var(--leather); padding: 0 6px; font-size: 1rem; }
.form-actions { display: flex; align-items: end; }
.nested { margin-top: 14px; }
.money { display: flex; align-items: center; border: 1px solid #cdbfa3; border-radius: 6px; background: #fff; padding-left: .7em; }
.money input { border: 0; outline: none; margin: 0; }
.money:focus-within { outline: 2px solid var(--blaze); }
.yesno { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .9rem; }
.yesno > span { min-width: 110px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; background: var(--bone-2); padding: .4em .8em; border-radius: 6px; cursor: pointer; border: 1px solid #e0d4bd; }
.toggle:has(input:checked) { background: var(--olive); color: #fff; border-color: var(--olive); }
.checkbox { display: flex; align-items: center; gap: 8px; }
.paid-check { align-self: end; padding: .55em .8em; background: #eaf2e4; border-radius: 6px; }

.autocomplete { list-style: none; margin: 4px 0 0; padding: 0; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.autocomplete:empty { display: none; }
.autocomplete li { padding: 10px 12px; background: #fff; border-bottom: 1px solid #eee4d2; cursor: pointer; }
.autocomplete li.active, .autocomplete li:hover { background: #fff3e8; }
.autocomplete li.none { cursor: default; color: var(--muted); }
.selected-customer { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bone-2); border-left: 5px solid var(--olive); padding: 12px 14px; border-radius: 6px; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { background: var(--leather); color: var(--bone-2); text-align: left; padding: 10px 12px; font-weight: 500; text-transform: uppercase; font-size: .8rem; white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid #eee4d2; vertical-align: middle; }
table.data tr:hover td { background: #fbf7ee; }
tr.is-paid td { background: #f3f8ef; }
td.actions, .actions { white-space: nowrap; }
td.actions > * { margin: 2px; }
.status-select { width: auto; padding: .3em .4em; font-size: .85rem; }

.code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--bone); color: var(--leather); padding: .1em .45em; border-radius: 4px; font-size: .85em; white-space: nowrap; }
.code-lg { font-size: 1.05rem; }
.badge { display: inline-block; padding: .15em .55em; border-radius: 999px; font-size: .75rem; font-family: 'Oswald'; text-transform: uppercase; letter-spacing: .03em; background: #ddd; white-space: nowrap; }
.badge-add { background: var(--olive-2); color: #fff; }
.status-received { background: #e6dccb; }
.status-cleaning, .status-degreasing, .status-whitening { background: #f6d9b8; color: #6b3a10; }
.status-ready-for-pickup { background: var(--blaze); color: #fff; }
.status-picked-up { background: var(--ok); color: #fff; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.info-grid label { color: var(--muted); text-transform: uppercase; font-size: .75rem; font-family: 'Oswald'; font-weight: 400; }
.upload-form { display: grid; grid-template-columns: 2fr 2fr 1.5fr auto; gap: 12px; align-items: end; }
.doc-list { list-style: none; padding: 0; margin: 18px 0 0; }
.doc-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-top: 1px solid #eee4d2; }
.doc-list .actions { margin-left: auto; display: flex; gap: 6px; }
.danger-zone { margin-top: 30px; text-align: right; }

.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.admin-photo { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.admin-photo img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.admin-photo form { display: grid; gap: 6px; }
.price-edit { display: flex; gap: 12px; align-items: end; }
.price-edit > form:first-child { flex: 1; grid-template-columns: 2fr 1fr; }

.login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(ellipse at center, #2a1d13, #0b0806); padding: 16px; }
.login-card { background: var(--paper); padding: 32px; border-radius: 12px; width: 100%; max-width: 380px; display: grid; gap: 14px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.login-card img { margin: 0 auto; border-radius: 50%; }
.login-card h1 { margin: 0; }
.login-card label { text-align: left; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-burger { display: block; }
  .site-nav, .admin-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bark); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 4px solid var(--blaze); }
  .nav-toggle:checked ~ .site-nav, .nav-toggle:checked ~ .admin-nav { display: flex; }
  .site-nav a.btn-orange { margin: 8px 0 0; text-align: center; }
  .admin-bar { position: sticky; }
  .about { grid-template-columns: 1fr; }
  .about-side { grid-template-columns: 1fr 1fr; align-items: start; }
  .about-card { grid-column: 1 / -1; }
  .hero-inner, .meet { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero-logo { max-width: 260px; margin: 0 auto; }
  .hero-tag { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .meet img { max-width: 320px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid, .upload-form, .price-edit > form:first-child { grid-template-columns: 1fr; }
  .price-edit { flex-direction: column; align-items: stretch; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* Stack table rows into cards on phones */
  table.data thead { display: none; }
  table.data tr { display: block; border-bottom: 3px solid var(--bone); padding: 6px 0; }
  table.data td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 5px 12px; text-align: right; }
  table.data td[data-label]::before { content: attr(data-label); font-family: 'Oswald'; text-transform: uppercase; font-size: .75rem; color: var(--muted); text-align: left; }
  table.data td.actions { justify-content: flex-end; }
  .table-wrap { overflow: visible; }
}

/* Wider admin area so the full tracking table fits on laptop screens */
.admin-main.wrap { max-width: 1560px; }
@media (min-width: 861px) {
  table.tracking { font-size: .85rem; }
  table.tracking th, table.tracking td { padding: 8px 8px; }
  table.tracking td.actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  table.tracking td.actions > * { margin: 0; }
  table.tracking td.actions .btn { width: 100%; text-align: center; }
}

/* Yearly price lists, side by side */
.price-years { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.price-years .price-table { max-width: none; margin: 0; }
.price-year { background: var(--bark); color: var(--bone-2); font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.3rem; padding: 14px 24px; border-bottom: 4px solid var(--blaze); display: flex; align-items: center; gap: 10px; }
.price-year .badge { font-size: .7rem; }
.price-extra { margin-top: 24px; }
.calc-hint { margin-top: 4px; }
.price-year .badge:not(.badge-add) { background: var(--bone); color: var(--bark); }

/* City / State / ZIP on one line */
.addr-row { display: grid; grid-template-columns: 1fr 110px 140px; gap: 14px 18px; }
@media (max-width: 560px) { .addr-row { grid-template-columns: 1fr 1fr; } .addr-city { grid-column: 1 / -1; } }
