/*
Theme Name: Bada Bing
Theme URI: https://bada-bing.ro
Description: Custom theme for Bada Bing restaurant
Author: Select Themes
Author URI:
Version: 1.0.1
Text Domain: badabing
*/

:root {
	--bb-red: #e1341e;
	--bb-dark: #0b0b0f;
	--bb-card-bg: rgba(255, 255, 255, 0.92);
	--bb-border-subtle: rgba(255, 255, 255, 0.4);
	--bb-radius-lg: 24px;
}
* {
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
button:focus,
.accordion-button:focus {
	box-shadow: none;
	border: none;
}
/* Main Page */
.location-page {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
	overflow: hidden;
	color: #fff;
}

/* Background pizza + gradient */
.location-page__bg {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(
		145deg,
		rgba(3, 3, 10, 0.95),
		rgba(225, 52, 30, 0.75)
	);
	filter: saturate(1.1) contrast(1.05) blur(20px);
	transform: scale(1.04);
	transform-origin: center;
	z-index: -2;
}
.location-page__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	opacity: 0.2;
}
.location-page__overlay {
	position: absolute;
	inset: -40%;
	background:
		radial-gradient(
			circle at top left,
			rgba(255, 255, 255, 0.15),
			transparent 60%
		),
		radial-gradient(
			circle at bottom right,
			rgba(255, 255, 255, 0.12),
			transparent 55%
		);
	opacity: 0.9;
	pointer-events: none;
	z-index: -1;
}

.location-page__inner {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.location-page__logo {
	text-align: center;
	margin-bottom: 32px;
}

.location-page__logo img {
	height: auto;
	filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
}

.location-card {
	position: relative;
	border-radius: var(--bb-radius-lg);
	padding: 40px 32px 34px;
	background: var(--bb-card-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow:
		0 24px 80px rgba(0, 0, 0, 0.65),
		0 0 0 1px rgba(255, 255, 255, 0.5);
	border: 1px solid var(--bb-border-subtle);
	color: #111;
	overflow: hidden;
}

.location-card::before {
	content: "";
	position: absolute;
	inset: -60%;
	background:
		radial-gradient(circle at top, rgba(225, 52, 30, 0.11), transparent 60%),
		radial-gradient(
			circle at bottom right,
			rgba(225, 52, 30, 0.18),
			transparent 55%
		);
	opacity: 0.7;
	pointer-events: none;
	z-index: -1;
}

.location-card__title {
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.location-card__title h1 {
	font-size: clamp(2rem, 3vw, 2.6rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0;
	text-transform: uppercase;
	color: #111;
}

.location-card__title-icon {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(225, 52, 30, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--bb-red);
	font-size: 1.4rem;
}

.location-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.location-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0;
	column-gap: 12px;
	padding: 16px 20px;
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	background: rgba(255, 255, 255, 0.96);
	color: #111;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	transition:
		transform 0.5s ease,
		box-shadow 0.5s ease,
		border-color 0.5s ease,
		background 0.5s ease;
}

.location-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--bb-red), #49200c);
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: 0;
}

.location-item__left,
.location-item__right {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
}

.location-item__badge {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: rgba(225, 52, 30, 0.09);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--bb-red);
	font-size: 1.1rem;
	flex-shrink: 0;
	transition: all 0.5s ease;
}

.location-item__city {
	white-space: nowrap;
	transition: all 0.5s ease;
}

.location-item__arrow {
	font-size: 1.3rem;
	color: rgba(17, 17, 17, 0.8);
	transition:
		transform 0.5s ease,
		color 0.5s ease;
}

.location-item:hover {
	transform: translateY(-3px);
	border-color: rgba(225, 52, 30, 0.7);
	box-shadow:
		0 16px 35px rgba(0, 0, 0, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.6);
	background: transparent;
}

.location-item:hover::before {
	opacity: 1;
}

.location-item:hover .location-item__badge {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.location-item:hover .location-item__city {
	color: #fff;
}

.location-item:hover .location-item__arrow {
	transform: translateX(4px);
	color: #fff;
}

.location-item:hover .location-item__cities p {
	color: rgba(255, 255, 255, 0.65);
}

/* Sub-cities list (e.g. Râșnov) */
.location-item__cities {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	transition: border-color 0.5s ease;
}

.location-item:hover .location-item__cities {
	border-top-color: rgba(255, 255, 255, 0.15);
}

.location-item__cities p {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.01em;
	color: rgba(17, 17, 17, 0.5);
	line-height: 1.4;
}

/* Disabled / "coming soon" variant */
.location-item--soon {
	cursor: default;
	pointer-events: none;
	opacity: 0.7;
}

.location-item--soon::after {
	content: "în curând";
	position: absolute;
	top: 10px;
	left: 16px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--bb-red);
	color: #fff;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	z-index: 2;
}

.location-item--soon:hover {
	transform: none;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Welcome page */
.welcome-page-wrapper .header-logo {
	text-align: center;
}

.welcome-page-wrapper .body {
	padding: 60px 30px;
}
.welcome-page-wrapper .body .accordion .accordion-item {
	border: 1px solid #ddd;
	border-radius: 15px;
	margin: 15px 0;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-header
	.accordion-button {
	border-radius: 15px;
	background: #f5f5f5;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-header
	.accordion-button
	span {
	display: block;
	font-size: 1.2rem;
	font-weight: 600;
}

.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	color: #fd0202;
	border-radius: 15px;
	font-size: 1rem;
	background: #f5f5f5;
	border: 1px solid #ddd;
	text-transform: uppercase;
	transition: all 0.5s ease;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: #fd0202;
	transition: all 0.5s ease;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box:hover:before {
	width: 100%;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box:hover
	span {
	color: #fff;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box
	i {
	position: relative;
	font-size: 1.4rem;
	background: #fd0202;
	color: #ffff;
	width: 45px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box
	span {
	position: relative;
	display: block;
	color: #000;
	font-weight: 700;
	padding: 10px 20px;
	transition: all 0.5s ease;
}
.welcome-page-wrapper
	.body
	.accordion
	.accordion-item
	.accordion-body
	.links-boxes
	.link-box
	.soon {
	color: #fd0202;
	position: absolute;
	font-size: 0.9rem;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.welcome-page-wrapper .footer {
	display: flex;
	justify-content: center;
	background: #fd0202;
}
.welcome-page-wrapper .footer-content {
	padding: 30px;
}
.welcome-page-wrapper .footer-content span {
	display: block;
	font-weight: 600;
	color: #fff;
	padding: 0 20px;
	font-size: 1.2rem;
}
.welcome-page-wrapper .footer-content .footer-list {
	margin: 0;
	padding: 10px 20px 30px;
}
.welcome-page-wrapper .footer-content .footer-list li {
	list-style: none;
	color: #fff;
}
.welcome-page-wrapper .footer-content .footer-app {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}
.welcome-page-wrapper .footer-content .footer-app img {
	width: auto;
	height: 80px;
	object-fit: contain;
}

@media screen and (max-width: 1200px) {
	.welcome-page-wrapper
		.body
		.accordion
		.accordion-item
		.accordion-body
		.links-boxes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.location-page__logo img {
		max-height: 180px;
	}
	.location-card__title h1 {
		font-size: clamp(1.6rem, 3vw, 2.6rem);
	}
	.location-page {
		padding: 20px 14px;
	}

	.location-card {
		padding: 28px 20px 24px;
	}

	.location-list {
		grid-template-columns: 1fr;
	}

	.welcome-page-wrapper .container {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
	.welcome-page-wrapper .header-logo {
		padding: 30px 0 0;
	}
	.welcome-page-wrapper .header-logo img {
		height: 150px;
		width: auto;
		object-fit: contain;
	}
	.welcome-page-wrapper .body {
		padding: 30px 15px;
	}
	.welcome-page-wrapper
		.body
		.accordion
		.accordion-item
		.accordion-body
		.links-boxes {
		grid-template-columns: repeat(1, 1fr);
	}
	.welcome-page-wrapper .footer-content .footer-app img {
		height: 60px;
	}
}

@media screen and (max-width: 576px) {
	.welcome-page-wrapper .footer-content span {
		padding: 0;
	}
	.welcome-page-wrapper .footer-content .footer-list {
		padding: 10px 0 30px;
	}
	.welcome-page-wrapper .footer-content {
		padding: 30px 15px;
	}
}
