/* ==========================================================================
   Everything Restaurants — base theme styles.
   Page layouts are built in Elementor; this file only provides the base
   (black canvas, fonts), the fallback header/footer and the markup of the
   theme's custom Elementor widgets.
   ========================================================================== */

:root {
	--er-black: #000;
	--er-white: #fff;
	--er-text: #f2f2f2;
	--er-line: #3a3a3a;
	--er-font-body: "ER Archivo", "Archivo", Arial, sans-serif;
	--er-font-head: "ER Montserrat", "Montserrat", Arial, sans-serif;
	--er-gutter: 76px;
}
@media (max-width: 1024px) { :root { --er-gutter: 40px; } }
@media (max-width: 767px) { :root { --er-gutter: 20px; } }

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

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

body {
	margin: 0;
	background: var(--er-black);
	color: var(--er-text);
	font-family: var(--er-font-body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: var(--er-white); }
a:hover { color: #bfbfbf; }

h1, h2, h3, h4, h5, h6 { font-family: var(--er-font-head); color: var(--er-white); }

:focus-visible { outline: 2px solid var(--er-white); outline-offset: 3px; }

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.er-skip-link:focus {
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 100000;
	padding: 12px 18px;
	background: var(--er-white);
	color: var(--er-black);
}

/* Elementor kit fallbacks: keep the black canvas even before the kit CSS loads. */
.elementor-page,
.elementor-template-full-width { background: var(--er-black); }

/* Lists inside Elementor text widgets (Deyafa section) */
.er-list ul { margin: 0 0 24px; padding-left: 1.6em; }
.er-list li { margin: 0 0 4px; }
.er-rich a { text-decoration: none; }
.er-rich a:hover { text-decoration: underline; }

/* ----- Header -------------------------------------------------------------- */
.er-header { position: relative; z-index: 50; }

/* the line under the menu runs to the viewport edge */
.er-header__line .elementor-divider { padding-block: 0 !important; }
.er-header__navrow { flex-wrap: nowrap !important; }

/* Header button keeps a compact box. */
.er-header-btn .elementor-button { white-space: nowrap; }

/* Fallback header (Elementor inactive or no header template assigned) */
.er-fallback-header {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 30px 0 30px 52px;
}
.er-fallback-header .er-logo img,
.er-fallback-header .custom-logo { width: 300px; height: auto; display: block; }
.er-fallback-header__right { flex: 1; }
.er-fallback-header__line { border: 0; border-top: 2px solid var(--er-line); margin: 10px 0 0; }
.er-fallback-header .er-nav__list { justify-content: flex-end; padding-right: 20px; }
.er-fallback-header .er-nav__list a { color: var(--er-white); font-size: 12px; font-weight: 800; text-transform: uppercase; }
@media (max-width: 767px) {
	.er-fallback-header { padding: 16px; }
	.er-fallback-header .er-logo img { width: 170px; }
}

/* ----- Nav menu widget ---------------------------------------------------- */
.er-nav { position: relative; --er-nav-dropdown-bg: #000; }
.er-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 14px;
	row-gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.er-nav__list li { position: relative; }
.er-nav__list a {
	display: block;
	text-decoration: none;
	color: var(--er-white);
	font-family: var(--er-font-body);
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	transition: color .2s ease;
}
.er-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 12px 16px;
	list-style: none;
	background: var(--er-nav-dropdown-bg);
	border: 1px solid var(--er-line);
}
.er-nav__list li:hover > .sub-menu,
.er-nav__list li:focus-within > .sub-menu { display: block; }
.er-nav__list .sub-menu a { padding: 6px 0; }

.er-nav__toggle {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--er-white);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.er-nav__bars,
.er-nav__bars::before,
.er-nav__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform .25s ease, opacity .25s ease;
}
.er-nav__bars { position: relative; }
.er-nav__bars::before,
.er-nav__bars::after { content: ""; position: absolute; left: 0; }
.er-nav__bars::before { top: -7px; }
.er-nav__bars::after { top: 7px; }
.er-nav.is-open .er-nav__bars { background: transparent; }
.er-nav.is-open .er-nav__bars::before { transform: translateY(7px) rotate(45deg); }
.er-nav.is-open .er-nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.er-nav--collapse-tablet .er-nav__toggle,
	.er-fallback-header .er-nav__toggle { display: inline-flex; margin-left: auto; }
	.er-nav--collapse-tablet .er-nav__list,
	.er-fallback-header .er-nav__list {
		display: none;
		position: absolute;
		right: 0;
		top: calc(100% + 8px);
		min-width: 240px;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 22px 24px;
		background: var(--er-nav-dropdown-bg);
		border: 1px solid var(--er-line);
		z-index: 60;
	}
	.er-nav--collapse-tablet.is-open .er-nav__list,
	.er-fallback-header .er-nav.is-open .er-nav__list { display: flex; }
	.er-nav--collapse-tablet .sub-menu { position: static; display: block; border: 0; padding: 6px 0 0 12px; }
}
@media (max-width: 767px) {
	.er-nav--collapse-mobile .er-nav__toggle { display: inline-flex; margin-left: auto; }
	.er-nav--collapse-mobile .er-nav__list {
		display: none;
		position: absolute;
		right: 0;
		top: calc(100% + 8px);
		min-width: 220px;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 22px 24px;
		background: var(--er-nav-dropdown-bg);
		border: 1px solid var(--er-line);
		z-index: 60;
	}
	.er-nav--collapse-mobile.is-open .er-nav__list { display: flex; }
	.er-nav--collapse-mobile .sub-menu { position: static; display: block; border: 0; padding: 6px 0 0 12px; }
}
.er-nav__empty { font-size: 12px; color: #999; margin: 0; }

/* ----- Video (home hero): round translucent play button -------------------- */
.er-video .elementor-custom-embed-play {
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: rgba(60, 60, 60, .82);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, transform .2s ease;
}
.er-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play { background: rgba(30, 30, 30, .9); }
.er-video .elementor-custom-embed-play i,
.er-video .elementor-custom-embed-play svg { margin-left: 6px; text-shadow: none; filter: none; opacity: 1; }
@media (max-width: 767px) {
	.er-video .elementor-custom-embed-play { width: 64px; height: 64px; }
}

/* ----- Carousel (logo + testimonial widgets) -------------------------------- */
.er-carousel {
	--er-spv: 3;
	--er-gap: 24px;
	--er-arrow-size: 30px;
	--er-arrow-top: 50%;
	--er-arrow-offset: 0px;
	position: relative;
}
.er-carousel__track {
	display: flex;
	gap: var(--er-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.er-carousel__track::-webkit-scrollbar { display: none; }
.er-carousel__track:focus-visible { outline-offset: 6px; }
.er-carousel__slide {
	flex: 0 0 calc((100% - (var(--er-spv) - 1) * var(--er-gap)) / var(--er-spv));
	min-width: 0;
	scroll-snap-align: start;
}
.er-carousel__arrow {
	position: absolute;
	top: var(--er-arrow-top);
	transform: translateY(-50%);
	z-index: 3;
	width: var(--er-arrow-size);
	height: var(--er-arrow-size);
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: calc(var(--er-arrow-size) * .55);
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease;
}
.er-carousel__arrow:hover { transform: translateY(-50%) scale(1.08); }
.er-carousel__arrow--next { right: var(--er-arrow-offset); }
.er-carousel__arrow--prev { left: 0; }
.er-carousel__arrow--prev svg { transform: rotate(180deg); }
.er-carousel__arrow[hidden] { display: none; }

/* Logo cards */
.er-logo-card__link { display: block; color: inherit; text-decoration: none; }
.er-logo-card__media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fff;
	margin-bottom: 10px;
}
.er-logo-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.er-logo-card__name,
.er-logo-card__category { color: #fff; font-family: var(--er-font-body); font-size: 16px; line-height: 1.35; }
.er-logo-card__name { font-weight: 800; }
.er-logo-card__category { font-style: italic; }

/* Testimonial cards */
.er-testimonial {
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	min-height: 330px;
	padding: 56px 26px 22px;
	border: 1px solid #5a5a5a;
	background: #000;
	color: #fff;
}
.er-testimonial__quote { margin: 0; padding: 0; border: 0; font-family: Georgia, serif; font-weight: 700; }
.er-testimonial__meta { display: flex; flex-direction: column; font-family: Georgia, serif; font-weight: 700; }
.er-testimonial__company { font-style: italic; }

/* ----- Accordion widget ------------------------------------------------------ */
.er-accordion {
	--er-acc-divider: #2e2e2e;
	--er-acc-divider-w: 2px;
	--er-acc-icon: #fff;
	--er-acc-icon-w: 40px;
	--er-acc-icon-h: 8px;
	border-top: var(--er-acc-divider-w) solid var(--er-acc-divider);
}
.er-accordion__item {
	border-bottom: var(--er-acc-divider-w) solid var(--er-acc-divider);
	padding: 24px 0 36px;
}
.er-accordion__title { margin: 0; font-family: var(--er-font-head); font-weight: 800; text-transform: uppercase; line-height: 1.15; }
.er-accordion__button {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	cursor: pointer;
	color: #fff;
	font: inherit;
	text-transform: inherit;
	letter-spacing: inherit;
}
.er-accordion__button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.er-accordion__icon {
	position: relative;
	flex: 0 0 var(--er-acc-icon-w);
	width: var(--er-acc-icon-w);
	height: var(--er-acc-icon-h);
	margin-top: .35em;
}
.er-accordion__icon::before,
.er-accordion__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--er-acc-icon);
	transition: transform .25s ease;
}
.er-accordion__icon::after { transform: rotate(90deg); }
.er-accordion__item.is-open .er-accordion__icon::after { transform: rotate(0deg); }
.er-accordion__panel { padding-top: 8px; }
.er-accordion__panel[hidden] { display: none; }
.er-accordion__content { font-family: var(--er-font-body); text-align: justify; }
.er-accordion__content > :first-child { margin-top: 0; }
.er-accordion__content > :last-child { margin-bottom: 0; }

/* ----- Classic content (non-Elementor pages, blog, 404) -------------------- */
.er-container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--er-gutter); }
.er-content-area { padding-block: 80px 120px; }
.er-page-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; text-transform: uppercase; margin: 0 0 32px; }
.er-entry { max-width: 900px; }
.er-post-list { display: grid; gap: 40px; }
.er-post-card { border-bottom: 2px solid var(--er-line); padding-bottom: 32px; }
.er-post-card__title { margin: 0 0 12px; font-size: 28px; }
.er-post-card__title a { text-decoration: none; }
.er-btn {
	display: inline-block;
	padding: 10px 24px;
	background: #fff;
	color: #000;
	font-weight: 800;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid #fff;
}
.er-btn:hover { background: #000; color: #fff; }

/* Fallback footer */
.er-fallback-footer { padding: 70px var(--er-gutter); background: #111; }
.er-fallback-footer__frame { border: 1px solid #8a8a8a; padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.er-fallback-footer .er-logo img { width: 300px; }
.er-fallback-footer__copy { margin: 0; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
	.er-carousel__track { scroll-behavior: auto; }
	* { transition: none !important; }
}
