/* ==========================================================================
   Lučica Restaurant – main.css
   ========================================================================== */

:root {
	--lc-bg: #0a0807;
	--lc-bg-2: #110e0c;
	--lc-accent: #ffab24;
	--lc-accent-dark: #e8941a;
	--lc-heading: #ffffff;
	--lc-text: #e9e4de;
	--lc-muted: #a8a19a;
	--lc-line: rgba(255, 255, 255, 0.14);
	--lc-font-head: "Cormorant Garamond", "Times New Roman", serif;
	--lc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lc-container: 1180px;
	--lc-gutter: clamp(20px, 4vw, 40px);
	--lc-header-h: 110px;
	--lc-radius: 12px;
	--lc-section-y: clamp(72px, 10vw, 140px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--lc-header-h); }

body.lucica {
	margin: 0;
	background: var(--lc-bg);
	color: var(--lc-text);
	font-family: var(--lc-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.lucica.lc-nav-open { overflow: hidden; }

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

a { color: var(--lc-accent); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--lc-heading); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.lc-skip:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 10px; left: 10px;
	padding: 10px 16px; background: var(--lc-accent); color: #111;
}

.lc-container {
	width: 100%;
	max-width: calc(var(--lc-container) + var(--lc-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--lc-gutter);
}
.lc-container--narrow { max-width: calc(820px + var(--lc-gutter) * 2); }

.lc-main { display: block; }

/* Elementor: bez praznog razmaka oko naših sekcija */
.elementor-widget[class*="elementor-widget-lucica-"] > .elementor-widget-container { margin: 0; padding: 0; }

/* ---------- Tipografija ---------- */
.lc-section {
	position: relative;
	padding: var(--lc-section-y) 0;
	background-color: var(--lc-bg);
	color: var(--lc-text);
	overflow: hidden;
}

.lc-title {
	margin: 0 0 .5em;
	font-family: var(--lc-font-head);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.005em;
	color: var(--lc-heading);
}
.lc-title--xl { font-size: clamp(44px, 6.4vw, 88px); }
.lc-title--lg { font-size: clamp(36px, 4.4vw, 60px); }
.lc-title--md { font-size: clamp(26px, 3vw, 36px); }

.lc-accent { color: var(--lc-accent); }

.lc-label {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 14px;
	color: var(--lc-accent);
	letter-spacing: .01em;
}

.lc-head { margin-bottom: clamp(36px, 5vw, 60px); }
.lc-head--center { text-align: center; }
.lc-head .lc-title { margin-bottom: 0; }

.lc-richtext p { margin: 0 0 1.25em; }
.lc-richtext p:last-child { margin-bottom: 0; }

.lc-center { text-align: center; }

/* ---------- Gumbi ---------- */
.lc-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 54px;
	padding: 14px 32px;
	border: 1px solid var(--lc-accent);
	border-radius: 8px;
	font-family: var(--lc-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.lc-btn--solid { background: var(--lc-accent); color: #1a1208; }
.lc-btn--solid:hover { background: transparent; color: var(--lc-accent); }
.lc-btn--outline { background: rgba(10, 8, 7, .55); color: #fff; }
.lc-btn--outline:hover { background: var(--lc-accent); color: #1a1208; }

/* ---------- Header ---------- */
.lc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 8, 7, .97);
	transition: box-shadow .3s ease, background-color .3s ease;
}
.admin-bar .lc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lc-header { top: 0; } }

.lc-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }

.lc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--lc-container) + var(--lc-gutter) * 2 + 120px);
	min-height: var(--lc-header-h);
	margin: 0 auto;
	padding: 14px var(--lc-gutter);
	transition: min-height .3s ease;
}
.lc-header.is-scrolled .lc-header__inner { min-height: 84px; }

.lc-logo { display: inline-flex; flex-shrink: 0; }
.lc-logo__img { width: auto; height: 82px; transition: height .3s ease; }
.lc-header.is-scrolled .lc-logo__img { height: 60px; }

.lc-nav { display: flex; align-items: center; gap: 28px; }

.lc-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.lc-nav__list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #fff;
}
.lc-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--lc-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.lc-nav__list a:hover,
.lc-nav__list .is-active > a,
.lc-nav__list a.is-active { color: var(--lc-accent); }
.lc-nav__list a:hover::after,
.lc-nav__list .is-active > a::after,
.lc-nav__list a.is-active::after { transform: scaleX(1); }

.lc-social { display: flex; align-items: center; gap: 12px; }
.lc-social__link { display: inline-flex; width: 20px; height: 20px; color: var(--lc-accent); }
.lc-social__link:hover { color: #fff; }
.lc-social__link svg { width: 100%; height: 100%; }

.lc-burger {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 120;
}
.lc-burger span:not(.screen-reader-text) {
	position: absolute;
	left: 10px; right: 10px;
	height: 1.5px;
	background: #fff;
	transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.lc-burger span:nth-child(1) { top: 15px; }
.lc-burger span:nth-child(2) { top: 21px; }
.lc-burger span:nth-child(3) { top: 27px; }
.lc-nav-open .lc-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.lc-nav-open .lc-burger span:nth-child(2) { opacity: 0; }
.lc-nav-open .lc-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	:root { --lc-header-h: 84px; }
	.lc-logo__img { height: 60px; }
	.lc-header.is-scrolled .lc-logo__img { height: 52px; }
	.lc-burger { display: block; }

	.lc-nav {
		position: fixed;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		gap: 40px;
		padding: 100px var(--lc-gutter) 40px;
		background: rgba(10, 8, 7, .98);
		opacity: 0;
		visibility: hidden;
		transition: opacity .35s ease, visibility .35s ease;
		z-index: 110;
	}
	.lc-nav-open .lc-nav { opacity: 1; visibility: visible; }

	.lc-nav__list { flex-direction: column; gap: 18px; }
	.lc-nav__list a { font-family: var(--lc-font-head); font-size: 30px; text-transform: none; letter-spacing: 0; }
	.lc-social__link { width: 26px; height: 26px; }
}

/* ---------- Hero ---------- */
.lc-hero {
	--lc-overlay: .6;
	display: flex;
	align-items: center;
	min-height: min(calc(100vh - var(--lc-header-h)), 820px);
	padding: clamp(80px, 10vw, 120px) 0;
}
.lc-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
}
.lc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(10, 8, 7, 1) 0%, rgba(10, 8, 7, calc(var(--lc-overlay) + .25)) 40%, rgba(10, 8, 7, var(--lc-overlay)) 100%);
}
.lc-hero__inner { position: relative; z-index: 2; }
.lc-hero .lc-title { max-width: 6.4em; }
.lc-hero__text { max-width: 620px; margin: 0 0 44px; font-size: 15px; color: #f2eee9; }

/* ---------- O nama ---------- */
.lc-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 7vw, 100px);
	align-items: center;
}
.lc-about__media { position: relative; padding: 40px 0 0 30px; }
.lc-about__media img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--lc-radius);
}
.lc-about__media.has-frame::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: calc(100% - 30px);
	height: calc(100% - 20px);
	border: 2px solid var(--lc-accent);
	border-radius: 18px;
}
.lc-about__content .lc-title { max-width: 9.5em; }
.lc-about__content .lc-richtext { font-size: 14px; color: var(--lc-text); }
.lc-signature {
	margin: 32px 0 0;
	text-align: right;
	font-family: var(--lc-font-head);
	font-style: italic;
	font-size: 22px;
	color: var(--lc-accent);
}

/* ---------- Jelovnik CTA ---------- */
.lc-menu-cta { padding: clamp(80px, 9vw, 120px) 0; }
.lc-menu-cta__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center right;
}
.lc-menu-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(10, 8, 7, .97) 0%, rgba(10, 8, 7, .9) 45%, rgba(10, 8, 7, .35) 100%);
}
.lc-menu-cta__inner { position: relative; z-index: 2; }
.lc-menu-cta .lc-title { max-width: 15em; }
.lc-menu-cta__text { max-width: 560px; margin: 0 0 22px; font-size: 14px; }
.lc-menu-cta__links { margin: 0; padding: 0; list-style: none; }
.lc-menu-cta__links li + li { margin-top: 6px; }
.lc-menu-cta__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--lc-font-head);
	font-style: italic;
	font-size: 22px;
	color: var(--lc-accent);
}
.lc-menu-cta__links a svg { width: 16px; height: 16px; transition: transform .25s ease; }
.lc-menu-cta__links a:hover { color: #fff; }
.lc-menu-cta__links a:hover svg { transform: translate(3px, -3px); }

/* ---------- Galerija ---------- */
.lc-gallery__grid { column-count: 3; column-gap: 20px; }
.lc-gallery__item {
	break-inside: avoid;
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: var(--lc-radius);
}
.lc-gallery__item a { display: block; }
.lc-gallery__item img {
	width: 100%;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.lc-gallery__item:hover img { transform: scale(1.05); filter: brightness(1.05); }

/* ---------- Istaknuta ponuda ---------- */
.lc-featured__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 clamp(40px, 6vw, 80px);
	max-width: 1000px;
	margin: 0 auto 56px;
}
.lc-featured__col { margin: 0; padding: 0; list-style: none; }
.lc-dish { padding: 14px 0; }
.lc-dish__row { display: flex; align-items: baseline; gap: 12px; }
.lc-dish__name {
	font-family: var(--lc-font-head);
	font-size: clamp(22px, 2vw, 26px);
	line-height: 1.2;
	color: #fff;
}
.lc-dish__dots {
	flex: 1;
	min-width: 20px;
	border-bottom: 1px dashed rgba(255, 255, 255, .35);
	transform: translateY(-5px);
}
.lc-dish__price {
	font-family: var(--lc-font-head);
	font-size: clamp(18px, 1.6vw, 22px);
	color: var(--lc-accent);
	white-space: nowrap;
}
.lc-dish__desc { margin: 2px 0 0; font-size: 12px; color: var(--lc-muted); }

/* ---------- Recenzije ---------- */
.lc-reviews__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 70px);
	align-items: center;
}
.lc-reviews__intro p { margin: 0 0 24px; font-size: 13px; color: var(--lc-text); max-width: 420px; }
.lc-reviews__nav { display: flex; gap: 10px; }
.lc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	padding: 6px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--lc-accent);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.lc-arrow:hover { background: var(--lc-accent); color: #1a1208; }
.lc-arrow[disabled] { opacity: .3; pointer-events: none; }
.lc-arrow svg { width: 100%; height: 100%; }

.lc-reviews__viewport { overflow: hidden; }
.lc-reviews__track {
	display: flex;
	gap: 20px;
	transition: transform .55s cubic-bezier(.2, .7, .2, 1);
	will-change: transform;
}
.lc-review {
	flex: 0 0 calc((100% - 20px) / 2);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 260px;
	padding: 30px 28px;
	border: 1px solid var(--lc-accent);
	border-radius: 14px;
	background: rgba(255, 255, 255, .015);
}
.lc-review__text { margin: 0 0 24px; font-size: 13px; line-height: 1.75; color: #f0ebe5; }
.lc-review__author { font-size: 13px; color: var(--lc-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rezervacije ---------- */
.lc-reservation { text-align: center; }
.lc-reservation__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(2px);
	transform: scale(1.05);
}
.lc-reservation::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(10, 8, 7, .62);
}
.lc-reservation__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.lc-reservation .lc-title { max-width: 18em; }
.lc-reservation__text { max-width: 600px; margin: 0 0 22px; font-size: 13px; color: #f2eee9; }
.lc-reservation__phone {
	font-family: var(--lc-font-head);
	font-size: clamp(22px, 2.2vw, 28px);
	color: var(--lc-accent);
}
.lc-reservation__phone:hover { color: #fff; }
.lc-reservation__mail { display: inline-flex; width: 26px; height: 26px; margin-top: 14px; color: var(--lc-accent); }
.lc-reservation__mail svg { width: 100%; height: 100%; }
.lc-reservation__form { width: 100%; max-width: 720px; margin-top: 40px; text-align: left; }

/* ---------- Kontakt ---------- */
.lc-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.lc-contact__list { margin: 18px 0 0; padding: 0; list-style: none; }
.lc-contact__list li { display: flex; gap: 22px; padding: 16px 0; }
.lc-contact__icon { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 4px; color: var(--lc-accent); }
.lc-contact__icon svg { width: 100%; height: 100%; }
.lc-contact__list small { display: block; margin-bottom: 2px; font-size: 11px; color: var(--lc-muted); }
.lc-contact__list a,
.lc-contact__line {
	display: block;
	font-family: var(--lc-font-head);
	font-size: 20px;
	line-height: 1.35;
	color: #fff;
}
.lc-contact__list a:hover { color: var(--lc-accent); }

.lc-contact__map {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	background: var(--lc-bg-2);
}
.lc-contact__map iframe,
.lc-contact__map img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}
.lc-contact__map.is-dark iframe { filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.lc-footer { padding: 0 0 40px; background: var(--lc-bg); }
.lc-footer .lc-container { border-top: 1px solid transparent; position: relative; }
.lc-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 48px 0 40px;
	border-top: 1px solid rgba(255, 171, 36, .4);
}
.lc-footer .lc-logo__img { height: 80px; }
.lc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	font-size: 11px;
	color: var(--lc-muted);
}
.lc-footer__copy { margin: 0; }
.lc-footer__legal { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.lc-footer__legal li + li::before { content: "|"; margin: 0 10px; color: var(--lc-muted); }
.lc-footer__legal a { color: #fff; }
.lc-footer__legal a:hover { color: var(--lc-accent); }

/* ---------- Obične stranice ---------- */
.lc-page { padding: clamp(60px, 8vw, 110px) 0; }
.lc-post + .lc-post { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--lc-line); }
.lc-post .lc-title a { color: #fff; }

/* ---------- Animacija ulaska ---------- */
.lc-js .lc-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.lc-js .lc-reveal.is-visible { opacity: 1; transform: none; }
.elementor-editor-active .lc-reveal,
.elementor-editor-preview .lc-reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lc-js .lc-reveal { opacity: 1; transform: none; transition: none; }
	.lc-reviews__track,
	.lc-gallery__item img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.lc-about__grid,
	.lc-reviews__grid,
	.lc-contact__grid { grid-template-columns: 1fr; }
	.lc-about__media { max-width: 460px; }
	.lc-reviews__intro p { max-width: none; }
}

@media (max-width: 767px) {
	body.lucica { font-size: 14px; }
	.lc-btn { min-width: 0; flex: 1 1 160px; }
	.lc-hero { min-height: 0; }
	.lc-hero::before { background: rgba(10, 8, 7, .72); }
	.lc-menu-cta::before { background: rgba(10, 8, 7, .85); }
	.lc-featured__grid { grid-template-columns: 1fr; }
	.lc-review { flex-basis: 100%; min-height: 0; }
	.lc-signature { text-align: left; }
	.lc-footer__top { flex-direction: column; text-align: center; }
	.lc-footer__bottom { flex-direction: column; text-align: center; }
	.lc-footer__legal { justify-content: center; }
}
