/*
Theme Name: Parts Camp
Theme URI: https://example.com/partscamp
Author: Parts Camp
Description: A responsive lawn equipment parts storefront inspired by the supplied layout.
Version: 1.0.1
Text Domain: partscamp
*/

:root {
  --pc-green-950: #123d20;
  --pc-green-800: #236235;
  --pc-green-700: #2f783f;
  --pc-green-600: #438e4c;
  --pc-lime: #c7db31;
  --pc-mint: #edf5ec;
  --pc-cream: #f8faf5;
  --pc-ink: #173c20;
  --pc-white: #fff;
  --pc-border: rgba(35, 98, 53, .22);
  --pc-shadow: 0 18px 45px rgba(15, 58, 29, .14);
  --pc-radius: 28px;
  --pc-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pc-ink); background: var(--pc-cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.admin-bar .pc-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.pc-container { width: min(calc(100% - 40px), var(--pc-max)); margin-inline: auto; }
.pc-skip { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 12px 16px; background: #fff; color: #173c20; border-radius: 8px; }
.pc-skip:focus { top: 12px; }

.pc-header { position: absolute; inset: 0 0 auto; z-index: 30; color: #fff; }
.pc-nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pc-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 950; font-style: italic; letter-spacing: -.04em; }
.pc-brand__mark { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 50% 42% 50% 38%; color: var(--pc-green-950); background: var(--pc-lime); font-size: 20px; font-style: normal; transform: rotate(-8deg); box-shadow: inset 0 0 0 3px rgba(255,255,255,.45); }
.pc-brand__image { display: block; width: auto; object-fit: contain; }
.pc-brand__image--header { height: 66px; }
.pc-brand__image--footer { height: 78px; }
.pc-brand__copy { display: grid; line-height: .85; font-size: 21px; text-shadow: 0 2px 12px rgba(0,0,0,.24); }
.pc-brand__copy small { margin-top: 8px; font-size: 8px; font-style: normal; letter-spacing: .21em; opacity: .82; }
.pc-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 750; }
.pc-menu a { padding: 12px 0; opacity: .9; }
.pc-menu a:hover, .pc-menu a:focus-visible { color: var(--pc-lime); }
.pc-menu-toggle { display: none; border: 0; border-radius: 10px; width: 44px; height: 44px; color: #fff; background: rgba(255,255,255,.14); }

.pc-hero { min-height: 710px; color: #fff; display: flex; align-items: center; position: relative; overflow: hidden; background: #174923 url('assets/images/hero-lawn-mower.jpg') center/cover no-repeat; }
.pc-hero::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255,255,255,.08) 15px 16px); }
.pc-hero__inner { position: relative; z-index: 2; padding-top: 80px; }
.pc-hero__copy { max-width: 610px; }
.pc-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--pc-lime); text-transform: uppercase; letter-spacing: .13em; font-size: 13px; font-weight: 900; }
.pc-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.pc-hero h1 { margin: 0; max-width: 630px; font-size: clamp(52px, 6.2vw, 86px); line-height: .96; letter-spacing: -.045em; }
.pc-hero p { max-width: 540px; margin: 26px 0 34px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }
.pc-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 23px; color: #fff; background: var(--pc-green-700); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; box-shadow: 0 12px 25px rgba(10,50,20,.25); font-weight: 850; }
.pc-button::after { content: "→"; transition: transform .2s ease; }
.pc-button:hover::after { transform: translateX(4px); }

.pc-section { padding: 94px 0; }
.pc-section-title { margin: 0 0 22px; color: var(--pc-green-800); font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.04em; }
.pc-kicker { display: block; margin-bottom: 25px; color: var(--pc-green-600); font-weight: 900; font-style: italic; font-size: 22px; }

.pc-about { position: relative; margin-top: -28px; z-index: 5; }
.pc-about__card { min-height: 520px; padding: clamp(38px, 6vw, 75px); background: #fff; border: 5px solid var(--pc-green-700); border-radius: 34px; box-shadow: var(--pc-shadow); overflow: hidden; position: relative; }
.pc-about__card::after { content: ""; position: absolute; inset: auto 0 0; height: 28px; background: linear-gradient(135deg, transparent 8px, var(--pc-green-700) 9px 14px, transparent 15px) 0 0/20px 28px repeat-x; opacity: .92; }
.pc-about__logo { margin: -12px auto 28px; width: 150px; text-align: center; color: var(--pc-green-700); font-weight: 950; font-size: 25px; font-style: italic; }
.pc-about__logo img { display: block; width: min(237px, 100%); height: auto; margin: 0 auto; }
.pc-about__image { display: block; width: 330px; max-width: 100%; height: auto; border-radius: 22px; }
.pc-about__lead { max-width: 1020px; margin: 0 auto; color: var(--pc-green-600); font-size: clamp(21px, 2.2vw, 29px); line-height: 1.3; font-style: italic; }
.pc-about__row { margin-top: 48px; display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: end; }
.pc-mini-parts { display: flex; gap: 16px; align-items: center; }
.pc-mini-parts i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eef1eb; border: 1px solid #d7dfd4; color: #6d9a71; font-style: normal; }
.pc-image-slot { display: grid; place-items: center; min-height: 180px; border: 2px dashed var(--pc-border); border-radius: 22px; color: #6f9275; background: linear-gradient(135deg, rgba(82,139,85,.08), rgba(199,219,49,.13)); text-align: center; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.pc-products { padding-top: 62px; background: var(--pc-mint); }
.pc-products__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.pc-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.pc-pill { padding: 6px 13px; color: var(--pc-green-700); border: 2px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 900; font-style: italic; }
.pc-products__grid { margin-top: 22px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: end; }
.pc-products__copy { padding-bottom: 30px; color: var(--pc-green-700); font-style: italic; line-height: 1.45; }
.pc-product-stage { display: grid; grid-template-columns: 1.5fr 1fr; gap: 25px; align-items: end; }
.pc-product-stage img { display: block; width: 100%; height: auto; border-radius: 22px; }

.pc-benefits { color: #fff; background: var(--pc-green-700); }
.pc-benefits__grid { min-height: 210px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.pc-benefit { min-height: 110px; display: grid; place-items: center; align-content: center; gap: 13px; text-align: center; border-right: 1px solid rgba(255,255,255,.2); font-weight: 900; }
.pc-benefit:last-child { border: 0; }
.pc-benefit__icon { width: 60px; height: 60px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.85); border-radius: 50%; font-size: 27px; }
.pc-benefit__image { display: block; width: auto; height: 72px; object-fit: contain; }

.pc-gallery { background: #fff; }
.pc-gallery__grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; }
.pc-gallery__grid img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.pc-gallery__right { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pc-gallery__right img:first-child { grid-column: 1 / -1; }

.pc-camp { min-height: 630px; display: flex; align-items: center; position: relative; overflow: hidden; color: var(--pc-green-950); background: #95a844 url('assets/images/camp-riding-mower.jpg') center/cover no-repeat; }
.pc-camp__panel { position: relative; z-index: 2; width: min(510px, 90%); padding: 38px 38px 34px; border: 1px solid rgba(255,255,255,.65); border-radius: 28px; background: rgba(255,255,255,.67); backdrop-filter: blur(9px); box-shadow: var(--pc-shadow); }
.pc-camp__item { margin-bottom: 26px; }
.pc-camp__item:last-child { margin-bottom: 0; }
.pc-camp__letter { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; color: #fff; background: var(--pc-green-700); border-radius: 5px; font-weight: 950; }
.pc-camp__item h3 { display: inline; margin: 0; color: var(--pc-green-700); font-size: 18px; letter-spacing: .03em; }
.pc-camp__item p { margin: 6px 0 0 42px; color: #55745a; line-height: 1.45; font-size: 14px; }

.pc-footer { padding: 60px 0; color: #fff; background: var(--pc-green-700); }
.pc-footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.pc-footer__line { height: 3px; background: rgba(255,255,255,.85); }
.pc-footer .pc-brand { flex-direction: column; gap: 8px; }
.pc-footer__note { margin-top: 30px; text-align: center; color: rgba(255,255,255,.7); font-size: 12px; }

@media (max-width: 900px) {
  body.admin-bar .pc-header { top: 46px; }
  .pc-menu-toggle { display: grid; place-items: center; }
  .pc-menu { position: absolute; top: 80px; left: 20px; right: 20px; display: none; padding: 18px; background: rgba(18,61,32,.96); border-radius: 18px; box-shadow: var(--pc-shadow); }
  .pc-menu.is-open { display: grid; }
  .pc-hero { min-height: 760px; align-items: flex-start; }
  .pc-hero__inner { padding-top: 155px; }
  .pc-hero::after { width: 50%; right: -4%; bottom: 4%; opacity: .7; }
  .pc-products__grid { grid-template-columns: 1fr; }
  .pc-gallery__grid { grid-template-columns: 1fr; }
  .pc-gallery__grid > .pc-image-slot { min-height: 380px; }
}

@media (max-width: 640px) {
  .pc-container { width: min(calc(100% - 28px), var(--pc-max)); }
  .pc-nav { min-height: 76px; }
  .pc-brand__mark { width: 42px; height: 42px; }
  .pc-brand__copy { font-size: 17px; }
  .pc-hero { min-height: 700px; }
  .pc-hero__inner { padding-top: 130px; }
  .pc-hero h1 { font-size: 48px; }
  .pc-hero::after { width: 72%; right: -25%; bottom: 2%; }
  .pc-section { padding: 68px 0; }
  .pc-about__card { padding: 35px 24px 58px; }
  .pc-about__row, .pc-products__head { grid-template-columns: 1fr; display: grid; }
  .pc-pills { justify-content: flex-start; }
  .pc-mini-parts { flex-wrap: wrap; }
  .pc-product-stage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pc-product-stage .pc-image-slot:first-child { min-height: 300px; }
  .pc-product-stage .pc-image-slot:last-child { min-height: 210px; }
  .pc-benefits__grid { grid-template-columns: 1fr; padding: 30px 0; }
  .pc-benefit { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 26px 0; }
  .pc-gallery__right { gap: 12px; }
  .pc-gallery__right .pc-image-slot:first-child { min-height: 220px; }
  .pc-gallery__right .pc-image-slot { min-height: 170px; }
  .pc-camp { min-height: 720px; align-items: flex-start; padding-top: 58px; }
  .pc-camp::after { inset: 57% -8% 4% 24%; }
  .pc-camp__panel { padding: 28px 22px; }
  .pc-footer__inner { grid-template-columns: 1fr; }
}
