/* ==========================================================================
   Bucket Head Tavern
   Brand: #f2a710 (amber/gold) | Background: #fff | Footer: #000
   Fonts: Open Sans (Google) + ChocolateBox Decorative (self-hosted)
   ========================================================================== */

/* ----- Self-hosted display fonts ----- */
@font-face {
	font-family: 'chocolateboxdecorative';
	src: url('../fonts/C_BOX_D.TTF') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'chocolatebox';
	src: url('../fonts/C_BOX.TTF') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	color: #bbb;
	background-color: #000;
	line-height: 1.7em;
	font-weight: 500;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Must clear the fixed header (109px tall: 91px logo + padding) */
body.fixed-nav.show-nav {
	padding-top: 110px;
}

@media (max-width: 767px) {
	body.fixed-nav.show-nav {
		padding-top: 118px;
	}
}

a {
	color: #2ea3f2;
	text-decoration: none;
}

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

p {
	padding-bottom: 1em;
}

p:last-of-type {
	padding-bottom: 0;
}

ul {
	list-style: none;
}

.container {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
	position: relative;
}

/* ----- Header ----- */
#main-header {
	background-color: #000000;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 99999;
	transition: all 0.4s ease-in-out;
}

.header-inner {
	padding: 18px 0;
	transition: padding 0.4s ease-in-out;
}

.logo-container {
	float: left;
	display: inline-block;
	max-width: 49%;
}

#logo {
	max-height: 97%;
	display: inline-block;
	vertical-align: middle;
	width: auto;
	max-width: 220px;
}

#primary-nav {
	float: right;
	padding-top: 14px;
}

#top-menu-nav {
	display: inline-block;
}

#top-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

#top-menu li {
	display: inline-block;
	padding-right: 22px;
	font-size: 16px;
}

#top-menu li:last-child {
	padding-right: 0;
}

#top-menu a {
	color: #f2a710;
	text-decoration: none;
	display: block;
	line-height: 1.4em;
	transition: color 0.3s ease;
}

#top-menu li.current-menu-item > a {
	color: #ffffff;
}

#top-menu a:hover {
	color: #ffffff;
	opacity: 0.7;
}

/* Fixed / scrolled header */
.is-stuck {
	background-color: rgba(0, 0, 0, 0.96);
}

.is-stuck .header-inner {
	padding: 8px 0;
}

.is-stuck #logo {
	max-height: 60%;
}

.is-stuck #top-menu a {
	color: #f2a710 !important;
}

/* Tighten the menu before it would start to crowd the logo */
@media (max-width: 980px) {
	#top-menu li {
		padding-right: 16px;
		font-size: 15px;
	}
}

/* Narrow screens: stack a centred logo above a centred nav row,
   so Home / About / Order Online all stay on screen. */
@media (max-width: 767px) {
	.header-inner {
		padding: 12px 0;
		text-align: center;
	}

	.logo-container {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 auto 6px;
	}

	#logo {
		max-width: 150px;
	}

	#primary-nav {
		float: none;
		display: block;
		padding-top: 0;
	}

	#top-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 16px;
	}

	#top-menu li {
		padding-right: 0;
		font-size: 14px;
	}
}

/* ----- Hero Slider ----- */
.fullwidth-section {
	position: relative;
}

.hero-section {
	overflow: hidden;
}

.hero-slider {
	position: relative;
	width: 100%;
	box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.hero-slides {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 700px;
}

.hero-slide {
	display: none;
	width: 100%;
	height: 700px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #000000;
	position: relative;
}

.hero-slide.active {
	display: block;
}

.hero-slide .hero-inner {
	display: table;
	height: 100%;
	width: 100%;
}

.hero-caption {
	display: table-cell;
	margin: 0;
	vertical-align: middle;
	text-align: center;
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}

h1 {
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
}

.hero-title {
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
	font-size: 75px !important;
	color: #f2a710 !important;
	font-weight: 300;
	line-height: 1em;
	padding-bottom: 10px;
	text-shadow: 2px 2px #000000;
}

.hero-subtitle {
	font-size: 22px !important;
	color: #ffffff !important;
	text-shadow: 2px 2px #000000;
	line-height: 1.5;
}

@media (max-width: 980px) {
	.hero-slides,
	.hero-slide {
		height: 500px;
	}

	.hero-title {
		font-size: 55px !important;
	}

	.hero-subtitle {
		font-size: 18px !important;
	}
}

@media (max-width: 767px) {
	.hero-slides,
	.hero-slide {
		height: 400px;
	}

	.hero-title {
		font-size: 25px !important;
	}

	.hero-subtitle {
		font-size: 16px !important;
		padding: 0 20px;
	}
}

/* ----- Three Column Blurb Section ----- */
.section {
	padding: 54px 0;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.features-section {
	background-image: url(../images/background-pattern.png);
	background-color: #000000;
}

.row {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

.column {
	float: left;
	position: relative;
	padding: 0 15px;
}

.column-third {
	width: 33.333%;
}

@media (max-width: 980px) {
	.section {
		padding: 50px 0;
	}

	.row {
		flex-direction: column;
	}

	.column {
		width: 100% !important;
		margin-bottom: 30px;
	}

	.column:last-child {
		margin-bottom: 0;
	}
}

.feature {
	text-align: center;
}

.feature-inner {
	padding: 20px;
}

.feature-title {
	font-size: 22px;
	color: #f2a710;
	font-weight: 500;
	line-height: 1em;
	padding-bottom: 10px;
}

.feature-title a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.feature-title a:hover {
	opacity: 0.7;
}

.feature-body {
	font-size: 16px;
	color: #ffffff;
}

.feature-body p {
	padding-bottom: 1em;
}

/* ----- Footer ----- */
#main-footer {
	background-color: #000000;
	color: #fff;
}

#footer-widgets {
	display: flex;
	flex-wrap: wrap;
	padding: 50px 0;
}

.footer-widget {
	padding: 0 30px;
	box-sizing: border-box;
}

.footer-1 {
	width: 50%;
}

.footer-2,
.footer-3 {
	width: 25%;
}

.widget {
	margin-bottom: 30px;
}

.footer-widget h4 {
	color: #ffffff;
	font-size: 18px;
	font-weight: 500;
	padding-bottom: 12px;
	margin-bottom: 15px;
}

.footer-widget ul {
	padding: 0;
	margin: 0;
}

.footer-widget ul li {
	padding: 5px 0;
}

.footer-widget ul li a {
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.footer-widget ul li a:hover {
	opacity: 0.7;
}

.footer-logo {
	max-width: 350px;
	width: 100%;
}

.fb-icon {
	max-width: 40px;
	transition: opacity 0.3s ease;
}

.fb-icon:hover {
	opacity: 0.7;
}

@media (max-width: 980px) {
	#footer-widgets {
		flex-direction: column;
	}

	.footer-widget {
		width: 100% !important;
		margin-bottom: 30px;
		padding: 0;
	}
}
/* ----- Menu Modal ----- */
body.modal-open {
	overflow: hidden;
}

.modal-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.88);
	z-index: 100000;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* A class selector outranks the UA's [hidden]{display:none}, so the hidden
   attribute must be honoured explicitly or the dialog is always visible. */
.modal-overlay[hidden] {
	display: none;
}

.modal {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 94vw;
	max-height: 92vh;
	background: #000000;
	border: 2px solid #f2a710;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.9);
}

.modal-header {
	flex: 0 0 auto;
	padding: 20px 68px 14px 32px;
	border-bottom: 1px solid #333;
}

.modal-title {
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
	font-weight: 300;
	font-size: 44px;
	line-height: 1.1;
	color: #f2a710;
}

.modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 24px 32px 32px;
	color: #e8e8e8;
	font-size: 16px;
	line-height: 1.7;
	-webkit-overflow-scrolling: touch;
}

.modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 0;
	color: #f2a710;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}

.modal-close:hover {
	color: #ffffff;
}

.modal-close:focus-visible,
.modal-body a:focus-visible {
	outline: 2px solid #f2a710;
	outline-offset: 3px;
}

/* --- menu content --- */
.menu-note {
	color: #bbbbbb;
	font-style: italic;
	font-size: 14px;
	padding-bottom: 1em;
}

.menu-section {
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
	font-weight: 300;
	font-size: 34px;
	color: #f2a710;
	line-height: 1.2;
	margin-top: 1.5em;
	padding-bottom: 10px;
	border-bottom: 2px solid #f2a710;
}

.menu-section:first-of-type {
	margin-top: 0;
}

.menu-subsection {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #f2a710;
	margin-top: 1.9em;
	padding-bottom: 6px;
	border-bottom: 1px solid #3a3a3a;
}

.menu-item {
	padding: 13px 0;
	border-bottom: 1px solid #1c1c1c;
}

.menu-item:last-child {
	border-bottom: 0;
}

.menu-item-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
}

.menu-item-name {
	color: #ffffff;
	font-weight: 600;
	font-size: 16px;
}

.menu-item-price {
	color: #f2a710;
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
}

.menu-item-desc {
	color: #aaaaaa;
	font-size: 14.5px;
	line-height: 1.55;
	padding-top: 3px;
	max-width: 62ch;
}

.menu-variants {
	color: #aaaaaa;
	font-size: 14.5px;
	padding-top: 5px;
}

.menu-variants b {
	color: #f2a710;
	font-weight: 600;
}

.menu-footnote {
	color: #8f8f8f;
	font-size: 13px;
	font-style: italic;
	line-height: 1.5;
	padding-top: 16px;
}

.menu-tagline {
	margin-top: 2.2em;
	padding-top: 16px;
	border-top: 1px solid #3a3a3a;
	text-align: center;
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
	font-size: 20px;
	color: #f2a710;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.modal-overlay {
		padding: 10px;
	}

	.modal {
		max-height: 92vh;
	}

	.modal-header {
		padding: 20px 58px 14px 20px;
	}

	.modal-title {
		font-size: 32px;
	}

	.modal-body {
		padding: 18px 20px 24px;
	}

	.menu-section {
		font-size: 26px;
	}

	.menu-item-head {
		flex-direction: column;
		gap: 2px;
	}

	.menu-item-desc {
		max-width: 100%;
	}

	.menu-desc {
		max-width: 70%;
	}
}

/* ----- About page ----- */
.about-section {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #000000;
}

.about-overlay {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.86) 45%, rgba(0, 0, 0, 0.55) 100%);
	padding: 70px 0;
}

.about-copy {
	max-width: 620px;
}

.page-title {
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
	font-weight: 300;
	font-size: 46px;
	line-height: 1.15;
	color: #f2a710;
	padding-bottom: 22px;
}

.about-copy p {
	color: #e8e8e8;
	font-size: 16px;
	line-height: 1.8;
	padding-bottom: 1.2em;
}

.about-copy a {
	color: #f2a710;
	text-decoration: underline;
}

.about-copy a:hover {
	color: #ffffff;
}

/* ----- Contact ----- */
.contact-section {
	background-image: url(../images/background-pattern.png);
	background-color: #000000;
}

.section-title {
	font-family: 'chocolateboxdecorative', 'Open Sans', Arial, sans-serif;
	font-weight: 300;
	font-size: 38px;
	line-height: 1.15;
	color: #f2a710;
	padding-bottom: 22px;
}

.column-two-thirds {
	width: 66.666%;
}

.contact-form .field {
	margin-bottom: 14px;
}

.contact-form .field-row {
	display: flex;
	gap: 14px;
}

.contact-form .field-row .field {
	flex: 1 1 0;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 15px;
	color: #111;
	background: #eeeeee;
	border: 1px solid #eeeeee;
	border-radius: 3px;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid #f2a710;
	outline-offset: 2px;
	background: #ffffff;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
	border-color: #c0392b;
	box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.5);
}

.contact-form textarea {
	resize: vertical;
	min-height: 150px;
}

.btn-submit {
	margin-top: 6px;
	padding: 13px 30px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #111111;
	background: #f2a710;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.btn-submit:hover {
	background: #ffbe3d;
}

.form-status {
	margin-top: 14px;
	min-height: 1.4em;
	font-size: 15px;
	color: #f2a710;
}

.form-status.error {
	color: #ff8b7d;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ----- Contact details ----- */
.contact-details {
	color: #ffffff;
	font-size: 16px;
	line-height: 1.7;
}

.contact-badge {
	max-width: 170px;
	margin-bottom: 18px;
}

.contact-details address {
	font-style: normal;
	padding-bottom: 1em;
}

.contact-line {
	padding-bottom: 0.8em;
}

.contact-label {
	color: #f2a710;
	font-weight: 600;
}

.contact-details a {
	color: #ffffff;
	text-decoration: none;
}

.contact-details a:hover {
	color: #f2a710;
}

.map-wrap {
	width: 80%;
	max-width: 1080px;
	margin: 40px auto 0;
	line-height: 0;
	border: 2px solid #333;
}

.map-wrap iframe {
	display: block;
	width: 100%;
}

@media (max-width: 980px) {
	.column-two-thirds {
		width: 100% !important;
	}

	.about-overlay {
		background: rgba(0, 0, 0, 0.88);
		padding: 50px 0;
	}

	.about-copy {
		max-width: 100%;
	}

	.map-wrap {
		width: 90%;
	}
}

@media (max-width: 767px) {
	.page-title {
		font-size: 32px;
	}

	.section-title {
		font-size: 28px;
	}

	.contact-form .field-row {
		flex-direction: column;
		gap: 0;
	}
}

/* --- menu boards (the printed menu artwork) --- */
.menu-boards {
	display: block;
}

.menu-board-wrap {
	margin-bottom: 18px;
	border: 1px solid #3a3a3a;
	background: #000;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y pinch-zoom;
}

.menu-board-wrap:last-of-type {
	margin-bottom: 0;
}

.menu-board {
	display: block;
	cursor: zoom-in;
}

/* Un-zoomed, a whole board fits inside the popup: bounded by the available
   height as well as the width, so you see the entire menu on open. */
.menu-board img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 1103px;
	margin: 0 auto;
}

/* zoomed: render at natural size and let the wrapper scroll in both axes */
.menu-board-wrap.zoomed {
	max-height: 70vh;
}

.menu-board-wrap.zoomed .menu-board {
	cursor: zoom-out;
}

.menu-board-wrap.zoomed .menu-board img {
	width: 1103px;
	max-width: none;
	max-height: none;
	margin: 0;
}

.menu-board-wrap:focus-within {
	border-color: #f2a710;
}

.zoom-hint {
	display: block;
	padding: 7px 10px;
	font-size: 13px;
	color: #8f8f8f;
	text-align: center;
	background: #0d0d0d;
	border-top: 1px solid #262626;
}
