/*
Theme Name: GXNOIR 1 Page Basic Theme
Theme URI: https://genexmarketing.com/
Author: Genex Marketing
Author URI: https://genexmarketing.com/
Description: A simple one-page restaurant theme. Logo, headline, downloadable menu buttons, contact info, hours and social links, all managed in Appearance > Customize > One Page Settings. Includes a Coming Soon mode.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gxnoir-1page-basic
Tags: one-column, custom-colors, custom-logo, theme-options
*/

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

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

body {
	margin: 0;
	background-color: var(--gop-bg);
	color: var(--gop-text);
	font-family: var(--gop-font-body);
	font-size: var(--gop-base-size);
	font-weight: var(--gop-body-weight);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--gop-accent);
}

a:focus-visible,
.gop-btn:focus-visible {
	outline: 2px solid var(--gop-accent);
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	padding: .75rem 1rem;
	background: var(--gop-text);
	color: var(--gop-bg);
	text-decoration: none;
}

/* Optional full-page background image + colour overlay */
.gop-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.gop-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gop-bg);
	opacity: var(--gop-overlay);
}

/* Layout */
.gop-main {
	max-width: var(--gop-content-width);
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 4rem) 1.25rem clamp(1.5rem, 4vw, 3rem);
	text-align: center;
}

.gop-brand .custom-logo-link {
	display: inline-block;
}

.gop-brand .custom-logo {
	display: block;
	width: var(--gop-logo-width);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.gop-site-title {
	margin: 0;
	font-family: var(--gop-font-heading);
	font-weight: var(--gop-heading-weight);
	font-size: clamp(2.5rem, 9vw, 5rem);
	line-height: 1.05;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gop-heading);
}

.gop-site-title a {
	color: inherit;
	text-decoration: none;
}

.gop-headline,
.gop-section-title {
	font-family: var(--gop-font-heading);
	font-weight: var(--gop-heading-weight);
	color: var(--gop-heading);
	text-transform: var(--gop-heading-transform);
	line-height: 1.15;
}

.gop-headline {
	margin: clamp(1.25rem, 3vw, 2rem) 0 0;
	font-size: clamp(1.75rem, 4.5vw, var(--gop-headline-size));
}

.gop-intro {
	max-width: 42rem;
	margin: 1rem auto 0;
}

.gop-intro p {
	margin: 0 0 .75em;
}

.gop-intro p:last-child {
	margin-bottom: 0;
}

/* Dividers */
.gop-divider {
	height: 7px;
	margin: clamp(1.5rem, 4vw, 2.5rem) 0;
	border: 0;
	border-top: 2px solid var(--gop-divider);
	border-bottom: 2px solid var(--gop-divider);
	background: none;
}

.gop-divider--single {
	height: 0;
	border-bottom: 0;
}

.gop-divider--none {
	height: 0;
	border: 0;
}

.gop-mini-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	max-width: 13rem;
	margin: 1.5rem auto 1rem;
	color: var(--gop-divider);
}

.gop-mini-divider::before,
.gop-mini-divider::after {
	content: "";
	flex: 1;
	height: 5px;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
}

.gop-mini-divider svg {
	width: .9rem;
	height: .9rem;
	fill: currentColor;
}

/* Menu buttons */
.gop-menus-title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.4rem, 3vw, var(--gop-section-size));
}

.gop-menus {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-width: 9rem;
	max-width: 15rem;
	min-height: 100%;
	padding: 1rem 1.25rem;
	border: 1px solid var(--gop-btn-border);
	border-radius: var(--gop-btn-radius);
	color: var(--gop-btn-text);
	font-family: var(--gop-font-body);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.gop-btn:hover,
.gop-btn:focus-visible {
	background-color: var(--gop-btn-hover-bg);
	border-color: var(--gop-btn-hover-bg);
	color: var(--gop-btn-hover-text);
}

.gop-btn svg {
	flex: none;
	width: 1.1em;
	height: 1.1em;
}

.gop-icon-stroke {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gop-btn--placeholder {
	border-style: dashed;
	opacity: .6;
	cursor: default;
}

/* Contact + hours */
.gop-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 2.5rem;
	align-items: start;
}

.gop-section-title {
	margin: 0 0 1rem;
	font-size: clamp(1.4rem, 3vw, var(--gop-section-size));
}

.gop-lines {
	margin: 0;
	font-style: normal;
}

.gop-line {
	display: block;
}

.gop-line--label {
	margin-top: .35em;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.gop-line--label:first-child {
	margin-top: 0;
}

.gop-line--gap {
	height: .9em;
}

.gop-contact-list {
	display: grid;
	gap: 1.1rem;
}

.gop-contact-list a {
	color: inherit;
	text-decoration: none;
}

.gop-contact-list a:hover {
	text-decoration: underline;
}

.gop-social {
	margin: 0;
}

.gop-social a {
	color: var(--gop-accent);
	text-underline-offset: .2em;
}

.gop-social-sep {
	margin: 0 .35em;
	opacity: .6;
}

/* Footer */
.gop-footer {
	padding: 0 1.25rem 2rem;
	font-size: .8em;
	font-weight: 400;
	text-align: center;
	opacity: .75;
}

.gop-footer p {
	margin: 0;
}

/* Coming soon */
.gop-is-coming-soon .gop-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100vh - 4rem);
}

.gop-cs-message {
	max-width: 38rem;
	margin: 1rem auto 0;
}

.gop-cs-message p {
	margin: 0 0 .75em;
}

.gop-cs-notice {
	position: fixed;
	bottom: 1rem;
	left: 50%;
	z-index: 9999;
	transform: translateX(-50%);
	padding: .5rem 1rem;
	border-radius: 999px;
	background: #1d2327;
	color: #fff;
	font: 600 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

@media (max-width: 768px) {
	.gop-menus {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	.gop-menus li {
		display: flex;
	}

	.gop-btn {
		width: 100%;
		max-width: none;
		min-width: 0;
	}
}

@media (max-width: 480px) {
	.gop-menus {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gop-btn {
		transition: none;
	}
}
