/*
Theme Name: Keg Lifter
Theme URI: https://keglifter.com
Author: AHFP Beverage Services
Description: One-page landing theme for the Keg Lifter by AHFP Beverage Services. Images, logo, contact email and the manual PDF are editable under Appearance → Customize → Keg Lifter.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: keglifter
*/

:root {
  --kl-yellow: #EEA604;
  --kl-ink: #30292B;
  --kl-black: #000;
  --kl-dark: #171515;
  --kl-gray: #E0E0E0;
  --kl-display: "Oswald", "Headline Gothic ATF", "Arial Narrow", sans-serif;
  --kl-sans: "Nunito Sans", "Avenir", "Avenir Next", "Segoe UI", sans-serif;
  --kl-helv: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --kl-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--kl-sans); color: var(--kl-ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.kl-wrap { max-width: var(--kl-max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kl-display { font-family: var(--kl-display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }

/* ---------- Hero ---------- */
.kl-hero {
  position: relative; min-height: 640px; height: 100vh; max-height: 1080px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 160px 24px 80px;
  background: #3a3536 var(--kl-hero-img, none) center / cover no-repeat;
}
.kl-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,18,18,.45), rgba(20,18,18,.55)); }
.kl-hero > * { position: relative; }
.kl-logo-box { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--kl-dark); padding: 22px 40px; }
.kl-logo-box img { max-height: 110px; width: auto; }
.kl-logo-text { font-family: var(--kl-display); color: #fff; font-size: 44px; line-height: 1; font-style: italic; }
.kl-logo-text small { display: block; font-size: 14px; letter-spacing: .2em; font-style: normal; margin-top: 6px; }
.kl-hero h1 { color: var(--kl-yellow); font-size: clamp(44px, 6.8vw, 130px); margin: 0 0 24px; }
.kl-hero p { font-size: clamp(20px, 2.1vw, 40px); font-weight: 500; max-width: 1000px; margin: 0 auto; line-height: 1.3; }
.kl-down { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; display: grid; place-items: center; color: #fff; }
.kl-down svg { width: 48px; transition: transform .2s; }
.kl-down:hover svg { transform: translateY(4px); }

/* ---------- Benefit strip ---------- */
.kl-benefits { padding: 48px 0 24px; }
.kl-benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.kl-benefits li { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 8px 24px; }
.kl-benefits li + li { border-left: 2px solid var(--kl-ink); }
.kl-benefits svg { width: 78px; height: 78px; flex: none; color: var(--kl-yellow); }
.kl-benefits h3 { font-size: 30px; margin: 0 0 6px; color: var(--kl-ink); }
.kl-benefits p { margin: 0; font-size: 20px; line-height: 1.3; }

/* ---------- Intro / product ---------- */
.kl-intro { padding: 48px 0 72px; }
.kl-intro .kl-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.kl-intro-top { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 40px; }
.kl-download { flex: none; width: 170px; height: 170px; border: 3px solid var(--kl-black); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-decoration: none; color: var(--kl-black); font-family: var(--kl-helv); font-weight: 700; font-size: 15px; text-transform: uppercase; text-align: center; line-height: 1.25; transition: background .2s, color .2s; }
.kl-download svg { width: 44px; }
.kl-download:hover, .kl-download:focus-visible { background: var(--kl-black); color: var(--kl-yellow); }
.kl-lead { font-family: var(--kl-helv); font-weight: 700; color: var(--kl-yellow); font-size: clamp(22px, 1.8vw, 30px); line-height: 1.3; margin: 0; }
.kl-body { font-family: var(--kl-helv); font-size: 19px; line-height: 1.55; }
.kl-body p { margin: 0 0 1.2em; }
.kl-contact-line { font-family: var(--kl-helv); font-weight: 700; color: var(--kl-yellow); font-size: 26px; margin: 32px 0 0; }
.kl-contact-line a { text-decoration: none; }
.kl-contact-line a:hover { text-decoration: underline; }
.kl-product img { margin: 0 auto; max-height: 820px; width: auto; }
.kl-product .kl-ph { aspect-ratio: 800 / 1312; max-height: 820px; }

/* ---------- Features band ---------- */
.kl-features { background: var(--kl-gray); padding: 64px 0 72px; text-align: center; }
.kl-features h2 { font-size: clamp(34px, 2.8vw, 54px); color: var(--kl-black); margin: 0 0 44px; }
.kl-features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; }
.kl-features li { display: flex; gap: 18px; align-items: flex-start; }
.kl-features svg { width: 80px; height: 80px; flex: none; color: var(--kl-yellow); }
.kl-features h3 { font-family: var(--kl-sans); font-weight: 900; font-size: 24px; text-transform: uppercase; margin: 6px 0 10px; line-height: 1.2; color: var(--kl-ink); }
.kl-features p { font-family: var(--kl-helv); font-size: 17px; line-height: 1.4; margin: 0; color: var(--kl-black); }

/* ---------- Photo banner ---------- */
.kl-banner { height: clamp(260px, 32vw, 620px); background: #4a4647 var(--kl-banner-img, none) center / cover no-repeat; }

/* ---------- Footer ---------- */
.kl-footer { background: var(--kl-black); color: #fff; text-align: center; }
.kl-footer-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; padding: 56px 0 28px; }
.kl-footer-contact { text-align: left; justify-self: end; font-size: 17px; }
.kl-footer-contact::before { content: ""; display: block; width: 80px; height: 3px; background: var(--kl-yellow); margin-bottom: 26px; }
.kl-footer-contact a { display: block; color: var(--kl-yellow); font-weight: 900; font-size: 22px; text-decoration: none; margin-top: 4px; }
.kl-footer-contact a:hover { text-decoration: underline; }
.kl-footer-logo img { max-height: 110px; width: auto; margin: 0 auto; }
.kl-tagline { justify-self: start; font-weight: 900; font-size: 22px; margin: 0; }
.kl-tagline span { color: var(--kl-yellow); }
.kl-affiliates { font-weight: 500; font-size: 16px; padding-bottom: 32px; margin: 0; }
.kl-footer-bottom { border-top: 1px solid #333; padding: 24px 0 32px; }
.kl-address { font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.kl-legal { font-size: 12px; color: #ccc; margin: 0; }
.kl-legal a { color: #ccc; }

/* Placeholder shown when an image hasn't been uploaded yet */
.kl-ph { background: repeating-linear-gradient(45deg, #eee, #eee 12px, #e4e4e4 12px, #e4e4e4 24px); display: grid; place-items: center; color: #888; font-size: 14px; border-radius: 4px; text-align: center; padding: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .kl-benefits ul { grid-template-columns: 1fr; gap: 16px; }
  .kl-benefits li { justify-content: flex-start; }
  .kl-benefits li + li { border-left: 0; border-top: 1px solid #ccc; padding-top: 20px; }
  .kl-intro .kl-wrap { grid-template-columns: 1fr; }
  .kl-product { order: -1; }
  .kl-product img, .kl-product .kl-ph { max-height: 520px; }
  .kl-features ul { grid-template-columns: repeat(2, 1fr); }
  .kl-footer-top { grid-template-columns: 1fr; text-align: center; }
  .kl-footer-contact, .kl-tagline { justify-self: center; text-align: center; }
  .kl-footer-contact::before { margin: 0 auto 20px; }
}
@media (max-width: 600px) {
  .kl-hero { min-height: 560px; height: auto; padding-top: 180px; padding-bottom: 120px; }
  .kl-logo-box { padding: 16px 24px; }
  .kl-logo-box img { max-height: 80px; }
  .kl-intro-top { flex-direction: column; align-items: center; text-align: center; }
  .kl-features ul { grid-template-columns: 1fr; }
  .kl-benefits h3 { font-size: 26px; }
  .kl-benefits p, .kl-body { font-size: 17px; }
  .kl-contact-line { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Inner pages ---------- */
.kl-page-head { background: var(--kl-dark); padding: 18px 24px; text-align: center; }
.kl-page-head img { height: 70px; width: auto; margin: 0 auto; }
.kl-page-head .kl-display { color: #fff; font-size: 32px; }
.kl-page-head a { text-decoration: none; }
.kl-page-body { padding: 56px 24px 80px; max-width: 900px; }
.kl-page-body h1 { font-size: 48px; margin: 0 0 24px; }
