/*
Theme Name: Bee Well Wholesale
Theme URI: https://beewellhoneybottlinganddistribution.com/
Author: Blue Lion Digital
Author URI: https://blueliondigital.com/
Description: Custom theme for Bee Well Honey Bottling and Distribution, matching the Bee Well Honey Farm brand. No page builder required.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: beewell-wholesale
*/

:root {
	--honey: #D89A0A;
	--honey-dark: #B37F06;
	--honey-light: #F9ECD8;
	--ink: #161922;
	--text: #4B4B4B;
	--cream: #F7F4EE;
	--white: #FFFFFF;
	--brown: #2A2418;
	--brown-text: #D6D0C5;
	--line: #E6DFD2;
	--radius: 6px;
	--shadow: 0 10px 30px rgba(42, 36, 24, .10);
	--wrap: 1200px;
	--font-body: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Bebas Neue", "Oswald", Impact, sans-serif;
	--font-script: "Great Vibes", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--honey-dark); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--ink); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.05;
	letter-spacing: .01em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(48px, 7vw, 84px); }
h2 { font-size: clamp(38px, 5vw, 56px); }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

.script {
	font-family: var(--font-script);
	color: var(--honey);
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1;
	margin: 0 0 .1em;
}
.script--light { color: #F3C55A; }

.lead { font-size: 19px; line-height: 1.65; color: var(--ink); }

/* Buttons */
.btn, .entry .btn, .wpcf7 input[type="submit"] {
	display: inline-block;
	background: var(--honey);
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 15px 28px;
	border: 2px solid var(--honey);
	border-radius: 3px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover, .btn:focus, .entry .btn:hover, .wpcf7 input[type="submit"]:hover {
	background: var(--ink); border-color: var(--ink); color: #fff;
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Top bar */
.topbar { background: var(--brown); color: var(--brown-text); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: var(--brown-text); }
.topbar a.topbar__item:hover { color: var(--honey); }
.topbar svg { width: 15px; height: 15px; fill: var(--honey); }

/* Header */
.site-header {
	background: rgba(247, 244, 238, .97);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 100;
	backdrop-filter: blur(6px);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.site-logo { flex-shrink: 0; }
.site-logo img { width: auto; max-height: 72px; }
.topbar__family { display: inline-flex; gap: 18px; padding-right: 18px; border-right: 1px solid rgba(214,208,197,.25); }
.topbar__family a { font-weight: 600; letter-spacing: .03em; }
.site-nav .menu-item--external { display: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li + li { border-left: 1px solid var(--line); }
.site-nav a {
	display: block;
	padding: 10px 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--honey);
	white-space: nowrap;
}
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--ink); }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; box-shadow: var(--shadow); border-radius: var(--radius);
	display: none; flex-direction: column; align-items: stretch; padding: 8px 0;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }

.nav-toggle {
	display: none; background: none; border: 0; width: 46px; height: 46px;
	cursor: pointer; position: relative;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	position: absolute; left: 11px; width: 24px; height: 2px; background: var(--ink);
	transition: transform .25s, opacity .25s; content: "";
}
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { left: 0; top: -8px; }
.nav-toggle__bars::after { left: 0; top: 8px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Torn paper edge */
.torn { position: absolute; left: 0; right: 0; height: 30px; line-height: 0; z-index: 3; pointer-events: none; }
.torn svg { width: 100%; height: 100%; display: block; }
.torn--bottom { bottom: -1px; }
.torn--top { top: -1px; transform: scaleY(-1); }

/* Hero */
.hero {
	position: relative;
	background: var(--cream);
	min-height: 600px;
	display: flex; align-items: center;
	overflow: hidden;
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--cream) 0%, rgba(247,244,238,.85) 18%, rgba(247,244,238,0) 55%);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 100px; }
.hero__text { max-width: 560px; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 470px; }

/* Sections */
.section { position: relative; padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--honey { background: var(--honey-light); }
.section--white { background: #fff; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }

/* Department cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
	display: flex; flex-direction: column;
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); color: var(--text);
	transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(42,36,24,.16); color: var(--text); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--honey-light); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--honey); }
.card__body h3 { margin-bottom: .3em; }
.card__body p { font-size: 15px; flex: 1; }
.card__more { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--honey-dark); }

/* Coffee band */
.band {
	position: relative;
	background-size: cover; background-position: center;
	padding: 140px 0;
	text-align: center; color: #fff;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(22, 25, 34, .62); }
.band__inner { position: relative; z-index: 2; max-width: 820px; }
.band h2 { color: #fff; }
.band p { font-size: 18px; max-width: 620px; margin-left: auto; margin-right: auto; }
.band .script { font-size: clamp(30px, 3.4vw, 44px); max-width: none; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > *, .intro-grid > * { min-width: 0; }
.visit__line a, .contact-list a, .site-footer a { overflow-wrap: anywhere; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.checklist { list-style: none; margin: 0 0 28px; padding: 0; }
.checklist li { position: relative; padding: 6px 0 6px 34px; color: var(--ink); font-weight: 500; }
.checklist li::before {
	content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px;
	background: var(--honey);
	clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

/* Partners */
.partners__row { display: flex; justify-content: center; align-items: center; gap: 64px; flex-wrap: wrap; }
.partners__logo img { max-height: 110px; width: auto; filter: grayscale(.15); transition: transform .25s, filter .25s; }
.partners__logo:hover img { transform: scale(1.05); filter: none; }

/* Visit */
.visit__line { font-size: 18px; color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Inner page hero */
.page-hero {
	position: relative;
	background-size: cover; background-position: center;
	padding: 120px 0 110px;
	color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,25,34,.78), rgba(22,25,34,.35)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 0; }

/* Page content (Classic Editor) */
.page-body { padding-top: 72px; }
.entry { max-width: 1100px; margin: 0 auto; }
.entry > *:last-child { margin-bottom: 0; }
.entry h2 { margin-top: .8em; }
.entry ul { padding-left: 1.2em; }
.entry img { border-radius: var(--radius); }

.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.intro-grid--even { grid-template-columns: 1fr 1fr; }
.feature-box {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 30px 32px; border-top: 5px solid var(--honey);
}
.feature-box h3 { margin-bottom: .4em; }
.feature-box ul { list-style: none; margin: 0; padding: 0; }
.feature-box li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.feature-box li:last-child { border-bottom: 0; }
.feature-box li::before {
	content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; background: var(--honey);
	clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}
.feature-box p:last-child { margin-bottom: 0; }
.hours { font-size: 18px; color: var(--ink); }
.hours strong { font-family: var(--font-head); font-weight: 400; font-size: 24px; letter-spacing: .02em; }

/* Galleries */
.gallery { display: grid; gap: 16px; margin: 0 0 40px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { margin: 0; }
.gallery-icon a, .gallery-icon { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--honey-light); }
.gallery-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .4s; }
.gallery-icon a:hover img { transform: scale(1.05); }
.gallery-caption { font-size: 14px; padding-top: 6px; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 1000; background: rgba(22,25,34,.92);
	display: flex; align-items: center; justify-content: center; padding: 40px;
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); }
.lightbox button {
	position: absolute; background: none; border: 0; color: #fff; font-size: 40px;
	line-height: 1; cursor: pointer; padding: 10px 16px;
}
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Contact form 7 */
.wpcf7 { max-width: 100%; }
.wpcf7 .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 .col-6 > span, .wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 14px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.wpcf7 textarea { min-height: 236px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--honey); border-color: var(--honey); }
.wpcf7 .col-12 { margin-top: 4px; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.contact-list { list-style: none; padding: 0 !important; margin: 0 0 18px; }
.contact-list li { padding: 6px 0; color: var(--ink); font-size: 17px; }

/* Footer */
.site-footer { position: relative; background: var(--brown); color: var(--brown-text); padding-top: 80px; font-size: 15px; }
.site-footer a { color: var(--brown-text); }
.site-footer a:hover { color: var(--honey); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__name { font-family: var(--font-head); font-size: 34px; color: #fff; line-height: 1; margin-bottom: .4em; }
.site-footer__brand a { color: var(--honey); }
.site-footer__heading { font-size: 24px; color: #fff; margin-bottom: .6em; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { padding: 3px 0; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
	width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(214,208,197,.3);
}
.social svg { width: 17px; height: 17px; fill: var(--brown-text); }
.social a:hover { background: var(--honey); border-color: var(--honey); }
.social a:hover svg { fill: var(--ink); }
.site-footer__bottom { border-top: 1px solid rgba(214,208,197,.15); padding: 18px 0; font-size: 13px; }
.site-footer__bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.site-nav .menu-item--external { display: block; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--cream); border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
	}
	.nav-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
	.site-nav > ul > li + li { border-left: 0; border-top: 1px solid var(--line); }
	.site-nav a { padding: 14px 24px; font-size: 14px; }
	.site-nav .sub-menu { position: static; display: flex; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
}

@media (max-width: 900px) {
	.topbar__family { display: none; }
	.site-header__inner { min-height: 76px; }
	.site-logo img { max-height: 60px; }

	.hero { min-height: 0; flex-direction: column; align-items: stretch; }
	.hero__media { position: relative; width: 100%; height: 300px; order: -1; }
	.hero__media::after { background: linear-gradient(0deg, var(--cream) 0%, rgba(247,244,238,0) 45%); }
	.hero__inner { padding-top: 10px; padding-bottom: 80px; }

	.split, .intro-grid, .intro-grid--even { grid-template-columns: 1fr; gap: 36px; }
	.split--visit .map { order: 2; }
	.section { padding: 72px 0; }
	.band { padding: 110px 0; }
	.gallery-columns-3, .gallery-columns-4 { grid-template-columns: repeat(2, 1fr); }
	.partners__row { gap: 36px; }
}

@media (max-width: 600px) {
	.topbar__inner > .topbar__item { display: none; }
	.topbar__inner { justify-content: center; }
	.cards { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.wpcf7 .row { grid-template-columns: 1fr; gap: 0; }
	.page-hero { padding: 80px 0 76px; }
	.btn-row .btn { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Wholesale additions ---------- */
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover, .btn--ghost-light:focus { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row--center { justify-content: center; }

/* Video hero */
.hero--video { min-height: 680px; background: var(--ink); }
.hero--video .hero__media { width: 100%; left: 0; background-size: cover; background-position: center; }
.hero--video .hero__media::after { background: linear-gradient(90deg, rgba(22,25,34,.85) 0%, rgba(22,25,34,.55) 45%, rgba(22,25,34,.15) 100%); }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--video h1, .hero--video .lead { color: #fff; }
.hero--video .lead { max-width: 520px; }

.section-head__lead { max-width: 720px; margin: 16px auto 0; font-size: 18px; color: var(--ink); }

/* Feature icons */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 32px 26px; text-align: center; border-bottom: 4px solid var(--honey);
}
.feature__icon {
	width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
	background: var(--honey-light); display: flex; align-items: center; justify-content: center;
}
.feature__icon svg { width: 34px; height: 34px; fill: var(--honey-dark); }
.feature h3 { font-size: 28px; margin-bottom: .3em; }
.feature p { font-size: 15px; margin: 0; }

/* Process cards */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card--static:hover { transform: none; }
.card__step { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--honey-dark); margin-bottom: 4px; }

.family { text-align: center; margin-top: 64px; }
.visit { padding-top: 110px; }

@media (max-width: 1100px) {
	.features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.hero--video { min-height: 560px; flex-direction: row; align-items: center; }
	.hero--video .hero__media { position: absolute; height: auto; order: 0; }
	.hero--video .hero__media::after { background: rgba(22,25,34,.62); }
	.hero--video .hero__inner { padding-top: 90px; padding-bottom: 110px; }
	.cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.features { grid-template-columns: 1fr; }
}
