/*!
Theme Name: bypassdeli
Theme URI: http://underscores.me/
Author: Underscores.me
Description: Custom theme for ByPass Deli.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bypassdeli
*/

/* Base
--------------------------------------------- */

html {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: #fff;
	color: #111;
	font-family: proxima-nova-condensed, sans-serif;
	font-size: 1.4rem;
	line-height: 1.5;
}

html, body {
    overflow-x: clip;
}

button,
input,
select,
textarea {
	font: inherit;
}

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

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2 {
	margin-top: 0;
	font-family: "gelica", sans-serif;
	font-weight: 700;
	font-style: italic;
}

h3.gelica {
    font-family: "gelica", sans-serif;
}

/* Headings
--------------------------------------------- */

h1 {
	font-size: clamp(3.5rem, 6vw, 6rem);
	line-height: 0.9;
}

h2 {
	font-size: clamp(3rem, 5vw, 5rem);
	line-height: 0.95;
}

h3 {
	font-size: clamp(1.6rem, 4vw, 1.7rem);
	line-height: 1;
}

h4 {
	font-size: clamp(1.75rem, 3vw, 3rem);
	line-height: 1.05;
}

h5 {
	font-size: clamp(1.4rem, 2vw, 2rem);
	line-height: 1.1;
}

h6 {
	font-size: clamp(1.15rem, 1.5vw, 1.5rem);
	line-height: 1.1;
}

p {
	margin-top: 0;
}


/* Accessibility
--------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	overflow: visible;
	clip: auto;
	background: #fff;
	color: #000;
}


/* Buttons
--------------------------------------------- */

.btn-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-pill-black {
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

.btn-pill-black:hover,
.btn-pill-black:focus {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}

.btn-pill-white {
	background: #fff;
	color: #000;
	border: 1px solid #FFF;
}

.btn-pill-white:hover,
.btn-pill-white:focus {
	background: #000;
	color: #fff;
	border: 1px solid #FFF;
}


/* Header
--------------------------------------------- */

.site-header {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.site-header .navbar {
	padding: 1rem 0;
}

.site-logo img {
	width: 180px;
	height: auto;
}

#primary-menu {
	gap: 1.75rem;
}

#primary-menu a {
	color: #000;
	font-weight: 700;
	text-transform: uppercase;
}

#primary-menu a:hover,
#primary-menu a:focus,
#primary-menu .current-menu-item > a {
	text-decoration: none;
}

.header-social img {
	width: 18px;
	height: 18px;
}

.bypass-order-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border: 2px solid #000;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bypass-order-btn:hover,
.bypass-order-btn:focus {
	background: #fff;
	color: #000;
}

.navbar-toggler {
	padding: 0.375rem;
	border: 0;
	border-radius: 0;
}

.navbar-toggler:focus {
	box-shadow: none;
}


/* Mobile
--------------------------------------------- */

@media (max-width: 991.98px) {

	.site-header .navbar {
		padding: 0.75rem 0;
	}

	.site-logo img {
		width: 140px;
	}

	.bypass-order-btn {
		padding: 0.55rem 0.9rem;
		font-size: 0.8rem;
	}

	#primary-menu-collapse {
		width: 100%;
	}

	#primary-menu {
		gap: 0;
		padding-top: 1rem;
	}

	#primary-menu li {
		border-top: 1px solid #ddd;
	}

	#primary-menu a {
		display: block;
		padding: 0.85rem 0;
	}

}

/* Mobile full-screen menu
--------------------------------------------- */

@media (max-width: 991.98px) {

	/* Black burger icon */
	.navbar-toggler-icon {
		background-image: none;
		position: relative;
		width: 28px;
		height: 20px;
	}

	.navbar-toggler-icon::before,
	.navbar-toggler-icon::after,
	.navbar-toggler-icon {
		border-top: 3px solid #000;
	}

	.navbar-toggler-icon::before,
	.navbar-toggler-icon::after {
		content: "";
		position: absolute;
		left: 0;
		width: 100%;
	}

	.navbar-toggler-icon::before {
		top: 6px;
	}

	.navbar-toggler-icon::after {
		top: 15px;
	}

	/* Full-screen overlay */
	#primary-menu-collapse {
		position: fixed;
		inset: 0;
		z-index: 9999;
		background: #000;
		padding: 7rem 2rem 2rem;
	}

	#primary-menu-collapse.collapsing,
	#primary-menu-collapse.show {
		display: block;
	}

	/* Menu */
	#primary-menu {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 0;
		margin: 0;
	}

	#primary-menu li {
		border: 0;
	}

	#primary-menu a {
		display: block;
		padding: 1rem 0;
		color: #fff;
		font-size: 1.6rem;
		font-weight: 700;
	}

	#primary-menu a:hover,
	#primary-menu a:focus {
		color: #fff;
		text-decoration: underline;
	}

	/* Hide desktop-only items inside overlay */
	.header-social,
	#primary-menu-collapse > .bypass-order-btn {
		display: none !important;
	}

	/* Keep burger above overlay */
	.navbar-toggler {
		position: relative;
		z-index: 10000;
	}

	/* Turn burger white when menu is open */
	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon,
	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
		border-color: #fff;
	}

}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
	background: #000000;
}


/* Logo */
.footer-logo {
	width: 50%;
	max-width: 170px;
	filter: brightness(0) invert(1);
}


/* Navigation */
.menu-footer {
	margin: 0;
	padding: 0;
	list-style: none;
	text-transform: uppercase;
}

.menu-footer a,
.footer-bottom-link {
	color: #fff;
	text-decoration: none;
}

.menu-footer a {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.menu-footer a:hover,
.footer-bottom-link:hover {
	color: #fff;
	opacity: 0.65;
}


/* Social Icons */
.footer-social-icon {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-icon:hover {
	opacity: 0.65;
	transform: translateY(-3px);
}


/* Footer Bottom */
.footer-bottom {
	font-size: 0.8rem;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767.98px) {

	.footer-logo {
		max-width: 260px;
	}

}

/* ==================================================
   HERO
================================================== */

.hero {
	height: 600px;
	background: #000;
}

.hero-video {
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.hero-overlay {
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.5) 35%,
		rgba(0, 0, 0, 0.15) 70%,
		rgba(0, 0, 0, 0) 100%
	);
	z-index: 1;
}

@media (max-width: 767.98px) {
	.hero-overlay {
		background: linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0) 0%,
			rgba(0, 0, 0, 0.15) 30%,
			rgba(0, 0, 0, 0.5) 65%,
			rgba(0, 0, 0, 0.75) 100%
		);
	}
}

.hero .container {
	z-index: 2;
}

.hero-title {
	font-size: clamp(4rem, 7vw, 7rem);
	line-height: 0.85;
	margin-bottom: 2rem;
}

.hero-menu-list {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

@media (max-width: 767.98px) {
	.hero {
		height: auto;
		aspect-ratio: 4 / 5;
	}

	.hero-video {
		object-position: center;
	}

	.hero .container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.hero-title {
		font-size: clamp(3.4rem, 16vw, 5rem);
		margin-bottom: 1.5rem;
	}

	.hero-menu-list {
		font-size: 0.95rem;
	}
}

@media (max-width: 991.98px) {
	.hero-social img {
		filter: brightness(0) invert(1);
	}
}

/* ==================================================
   MENU CATEGORIES
================================================== */

.menu-category {
	position: relative;
}

.menu-category-img {
	max-width: 145px;
	height: 120px;
	object-fit: contain;
}

a:hover .menu-category-img {
	transform: translateY(-8px) scale(1.05) rotate(-3deg);
}

.menu-category-kicker {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
}

.menu-category-title {
	font-size: 2rem;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1;
}


/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 768px) {

	.menu-category:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 10%;
		right: 0;
		width: 1px;
		height: 80%;
		background: var(--bs-border-color);
	}
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767.98px) {

	.menu-category-img {
		max-width: 120px;
		height: 100px;
	}

	.menu-category-title {
		font-size: 1.5rem;
	}
}

/* ==================================================
    Local Favorite Collage
================================================== */

.local-favorite-collage {
	position: relative;
	width: 100%;
	height: 430px;
}

.polaroid {
	position: absolute;
	display: block;
	padding: 8px;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Far Left - Middle Layer */
.polaroid-1 {
	width: 52%;
	top: 20px;
	left: 0;
	transform: rotate(-5deg);
	z-index: 2;
}

/* Middle - Back Layer */
.polaroid-2 {
	width: 46%;
	top: 0;
	left: 53%;
	transform: rotate(3deg);
	z-index: 1;
}

/* Far Right - Front Layer */
.polaroid-3 {
	width: 48%;
	right: 4em;
	bottom: 5px;
	transform: rotate(7deg);
	z-index: 3;
}

/* Handwritten Note */
.local-favorite-note {
	position: absolute;
	left: 12%;
	bottom: 20px;
	z-index: 4;
	margin: 0;
	font-family: "gelica", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
	transform: rotate(-6deg);
}


/* Mobile
--------------------------------------------- */

@media (max-width: 767.98px) {

	.local-favorite-collage {
		height: 330px;
	}

	.polaroid {
		padding: 6px;
	}

	.polaroid-1 {
		width: 56%;
		top: 18px;
		left: 0;
	}

	.polaroid-2 {
		width: 50%;
		top: -30px;
		left: 50%;
	}

	.polaroid-3 {
		width: 52%;
		right: 30px;
		bottom: 25px;
	}

	.local-favorite-note {
		left: 5%;
		bottom: 18px;
		font-size: 1rem;
	}
}

/* =========================================================
   BYPASS DELI — CONNECT WITH US
========================================================= */

#bypass-connect-page {
    background: #fff;
    color: #000;
    padding: 0 0 70px;
}

#bypass-connect-page *,
#bypass-connect-page *::before,
#bypass-connect-page *::after {
    box-sizing: border-box;
}


/* HERO
--------------------------------------------------------- */

.connect-hero {
    padding: 55px 15px 28px;
}

.connect-title {
    margin: 0;
    font-size: clamp(44px, 8vw, 76px);
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: #000;
}

.connect-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 680px;
    margin: 26px auto 22px;
}

.connect-divider > span {
    display: block;
    flex: 1;
    height: 2px;
    background: #000;
}

.connect-stars {
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.connect-intro {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    color: #111;
}


/* CARDS
--------------------------------------------------------- */

.connect-links {
    padding: 10px 15px 0;
}

.connect-card {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 145px;
    margin-bottom: 18px;
    padding: 25px 28px;
    border: 1px solid #d2d2d2;
    border-radius: 18px;
    background: #fff;
    color: #000;
    text-decoration: none !important;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

a.connect-card:hover,
a.connect-card:focus {
    color: #000;
    border-color: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.connect-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    min-width: 72px;
    height: 72px;
    margin-right: 28px;
}

.connect-icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.connect-card-content {
    flex: 1;
    min-width: 0;
}

.connect-card-content h2,
.contact-heading h2 {
    margin: 0 0 7px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 700;
    font-style: italic;
    color: #000;
}

.connect-card-content p,
.contact-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #111;
}

.connect-arrow {
    flex: 0 0 auto;
    margin-left: 24px;
    font-family: Arial, sans-serif;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
}


/* ORDER BUTTON
--------------------------------------------------------- */

.connect-order-card {
    gap: 0;
}

.connect-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 170px;
    margin-left: 25px;
    padding: 16px 22px;
    border: 2px solid #000;
    border-radius: 14px;
    background: #000;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: .2s ease;
}

.connect-button span {
    font-size: 30px;
    font-weight: 300;
    line-height: .7;
}

.connect-button:hover,
.connect-button:focus {
    background: #fff;
    color: #000 !important;
}


/* CONTACT
--------------------------------------------------------- */

.connect-contact {
    padding: 0 15px;
}

.contact-card {
    padding: 32px;
    border: 1px solid #d2d2d2;
    border-radius: 18px;
    background: #fff;
}

.contact-heading {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}


/* TABLET
--------------------------------------------------------- */

@media (max-width: 991px) {

    .connect-hero {
        padding-top: 45px;
    }

    .connect-card-content h2,
    .contact-heading h2 {
        font-size: 30px;
    }
}


/* MOBILE
--------------------------------------------------------- */

@media (max-width: 767px) {

    #bypass-connect-page {
        padding-bottom: 45px;
    }

    .connect-hero {
        padding: 38px 18px 25px;
    }

    .connect-title {
        font-size: clamp(42px, 12vw, 58px);
    }

    .connect-divider {
        gap: 10px;
        margin: 22px auto 18px;
    }

    .connect-stars {
        font-size: 14px;
    }

    .connect-intro {
        font-size: 17px;
    }

    .connect-links,
    .connect-contact {
        padding-left: 16px;
        padding-right: 16px;
    }

    .connect-card {
        min-height: 0;
        padding: 21px 18px;
        border-radius: 14px;
    }

    .connect-icon {
        width: 58px;
        min-width: 58px;
        height: 58px;
        margin-right: 18px;
    }

    .connect-icon img {
        width: 44px;
        height: 44px;
    }

    .connect-card-content h2,
    .contact-heading h2 {
        margin-bottom: 5px;
        font-size: 27px;
    }

    .connect-card-content p,
    .contact-heading p {
        font-size: 15px;
        line-height: 1.35;
    }

    .connect-arrow {
        margin-left: 12px;
        font-size: 44px;
    }

    .connect-order-card {
        flex-wrap: wrap;
    }

    .connect-order-card .connect-card-content {
        flex: 1;
    }

    .connect-button {
        width: 100%;
        min-width: 0;
        margin: 18px 0 0;
    }

    .contact-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .contact-heading {
        align-items: center;
        margin-bottom: 24px;
    }
}


/* VERY SMALL SCREENS
--------------------------------------------------------- */

@media (max-width: 420px) {

    .connect-card {
        padding: 18px 15px;
    }

    .connect-icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        margin-right: 14px;
    }

    .connect-icon img {
        width: 40px;
        height: 40px;
    }

    .connect-card-content h2,
    .contact-heading h2 {
        font-size: 24px;
    }

    .connect-card-content p,
    .contact-heading p {
        font-size: 14px;
    }

    .connect-arrow {
        margin-left: 8px;
        font-size: 38px;
    }
}

/* ==================================================
   Catering Form Fields
================================================== */

.catering-form-section label {
	display: block;
	width: 100%;
	margin: 0 0 7px;
	color: #000;
	font-size: 15px;
	font-weight: 600;
}

.catering-form-section .form-control,
.catering-form-section .form-select {
	width: 100%;
	min-height: 74px;
	padding: 12px 16px;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 16px;
	box-shadow: none;
	outline: none;
}

.catering-form-section .form-control:focus,
.catering-form-section .form-select:focus {
	border-color: #000;
	box-shadow: none;
}

/* CONTACT FORM
--------------------------------------------------------- */

.connect-form label {
    display: block;
    width: 100%;
    margin: 0 0 7px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
}

.connect-form .form-control {
    width: 100%;
    min-height: 74px;
    padding: 12px 16px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    background: #fff;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    box-shadow: none;
    outline: none;
}

.connect-form textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.connect-form .form-control:focus {
    border-color: #000;
    box-shadow: none;
}


/* TABLET
--------------------------------------------------------- */
