/* =========================================
   Döner Dünyası — тема на 3 языках (RU/TR/KA)
   ========================================= */

:root {
	--dd-maroon: #6E1B21;      /* тёмный красно-коричневый (hero) */
	--dd-maroon-2: #4A1116;    /* ещё темнее, для градиента */
	--dd-red: #B23327;         /* акцентный красный (кнопки) */
	--dd-cream: #FAF3E9;       /* тёплый кремовый фон секций */
	--dd-cream-2: #F1E6D6;
	--dd-heading: #6E2530;     /* тёмный бордовый для заголовков на кремовом фоне */
	--dd-accent-gold: #E3B57C; /* акцентный курсив на hero */
	--dd-text-muted: #7A6355;
	--dd-radius: 16px;
	--dd-shadow: 0 10px 30px rgba(78, 25, 20, 0.15);
	--dd-font-heading: 'Noto Serif Georgian', 'Noto Serif', serif;
	--dd-font-body: 'Noto Sans Georgian', 'Noto Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--dd-font-body);
	color: #4a3b33;
	background: var(--dd-cream);
	line-height: 1.65;
}

h1, h2, h3, h4 {
	font-family: var(--dd-font-heading);
	color: var(--dd-heading);
	line-height: 1.25;
	margin: 0 0 .4em;
}
h1 em, h2 em { color: var(--dd-red); font-style: italic; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.dd-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Buttons */
.dd-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 700;
	font-family: var(--dd-font-body);
	font-size: 15px;
	transition: transform .15s ease, opacity .15s ease;
	cursor: pointer;
	border: 2px solid transparent;
}
.dd-btn:hover { transform: translateY(-2px); }
.dd-btn--primary { background: var(--dd-red); color: #fff; box-shadow: var(--dd-shadow); }
.dd-btn--outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }
.dd-btn--pill { background: var(--dd-red); color: #fff; padding: 10px 22px; font-size: 14px; white-space: nowrap; }

/* ---------- Header ---------- */
.dd-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background: var(--dd-cream);
	box-shadow: 0 2px 12px rgba(78,25,20,.06);
	transition: background .25s ease, box-shadow .25s ease;
}
.dd-has-hero .dd-header {
	background: transparent;
	box-shadow: none;
}
.dd-has-hero .dd-header.is-scrolled {
	background: var(--dd-cream);
	box-shadow: 0 2px 12px rgba(78,25,20,.12);
}

.dd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 32px;
}

.dd-logo { display: flex; align-items: center; gap: 10px; }
.dd-logo__badge {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--dd-red);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--dd-font-heading);
	font-weight: 700;
	flex: none;
}
.dd-logo__title {
	font-family: var(--dd-font-heading);
	font-weight: 700;
	font-size: 20px;
	color: var(--dd-heading);
}
.dd-has-hero .dd-header:not(.is-scrolled) .dd-logo__title { color: #fff; }

.dd-nav { display: flex; gap: 30px; }
.dd-nav a {
	font-weight: 600;
	font-size: 15px;
	color: var(--dd-heading);
}
.dd-has-hero .dd-header:not(.is-scrolled) .dd-nav a { color: #fff; }
.dd-nav a:hover { color: var(--dd-red); }

.dd-header__right { display: flex; align-items: center; gap: 20px; }
.dd-lang-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.dd-lang-switch a { color: var(--dd-text-muted); padding: 2px 4px; }
.dd-lang-switch a.is-active { color: var(--dd-red); }
.dd-has-hero .dd-header:not(.is-scrolled) .dd-lang-switch a { color: rgba(255,255,255,.75); }
.dd-has-hero .dd-header:not(.is-scrolled) .dd-lang-switch a.is-active { color: #fff; }
.dd-lang-icon { opacity: .6; margin-right: 2px; }

.dd-burger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.dd-burger span { width: 22px; height: 2px; background: var(--dd-heading); display: block; }
.dd-has-hero .dd-header:not(.is-scrolled) .dd-burger span { background: #fff; }

/* ---------- Hero ---------- */
.dd-hero {
	position: relative;
	background: radial-gradient(120% 140% at 20% 10%, var(--dd-maroon) 0%, var(--dd-maroon-2) 60%, #2E0B0D 100%);
	color: #fff;
	padding: 170px 0 120px;
	overflow: hidden;
}
.dd-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(60% 60% at 85% 60%, rgba(255,255,255,.05), transparent 70%);
	pointer-events: none;
	z-index: 1;
}
.dd-hero__inner { max-width: 640px; position: relative; z-index: 2; }

/* Фоновая картинка/видео Hero — если загружены (по умолчанию их нет,
   и остаётся исходный градиентный фон без изменений). */
.dd-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.dd-hero__bg img, .dd-hero__bg iframe {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
.dd-hero--has-media::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(120deg, rgba(107,20,24,.88) 0%, rgba(46,11,13,.8) 100%);
	z-index: 1;
}
.dd-badge {
	display: inline-block;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.25);
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 24px;
}
.dd-hero h1 {
	color: #fff;
	font-size: 48px;
	margin-bottom: 20px;
}
.dd-hero h1 em { color: var(--dd-accent-gold); font-style: italic; }
.dd-hero__subtitle { font-size: 17px; opacity: .9; margin-bottom: 36px; max-width: 520px; }
.dd-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- About / Home-taste (image + text sections) ---------- */
.dd-about, .dd-home-taste { padding: 96px 0; }
.dd-home-taste { background: var(--dd-cream-2); }

.dd-about__inner, .dd-home-taste__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.dd-home-taste__inner { grid-template-columns: 1fr 1fr; }
.dd-home-taste__inner .dd-home-taste__image { order: 0; }
.dd-home-taste__inner .dd-home-taste__text { order: 1; }

.dd-about__image, .dd-home-taste__image {
	aspect-ratio: 4/3;
	border-radius: var(--dd-radius);
	background: linear-gradient(135deg, #D9B48B, var(--dd-maroon));
	box-shadow: var(--dd-shadow);
	overflow: hidden;
}
.dd-about__image img, .dd-home-taste__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}
.dd-about__image iframe, .dd-home-taste__image iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.dd-about h2, .dd-home-taste h2 { font-size: 34px; }
.dd-about p, .dd-home-taste p { color: #6b5749; margin-bottom: 16px; }

/* ---------- Menu page ---------- */
.dd-menu-page { padding: 160px 0 96px; }
.dd-page-title { text-align: center; font-size: 40px; margin-bottom: 56px; position: relative; }
.dd-page-title::after {
	content: "";
	display: block;
	width: 70px; height: 3px;
	background: var(--dd-red);
	margin: 18px auto 0;
	border-radius: 2px;
}
.dd-menu-list { max-width: 760px; margin: 0 auto; }
.dd-menu-row {
	padding: 28px 0;
	border-bottom: 1px solid #e6d7c4;
}
.dd-menu-row:last-child { border-bottom: none; }
.dd-menu-row__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}
.dd-menu-row__head h3 { font-size: 20px; margin: 0; }
.dd-menu-row__price { color: var(--dd-red); font-weight: 700; font-size: 18px; white-space: nowrap; }
.dd-menu-row p { margin: 8px 0 0; color: var(--dd-text-muted); font-size: 15px; }

/* ---------- Простые языковые страницы: «О нас», «Локация», интро на «Меню» ---------- */
.dd-simple-page { padding: 160px 0 96px; }
.dd-page-content { max-width: 800px; margin: 0 auto; color: #6b5749; }
.dd-page-content__contacts { text-align: center; font-size: 17px; margin-bottom: 32px; }
.dd-menu-page__intro { margin-bottom: 56px; padding-bottom: 40px; border-bottom: 1px solid #e6d7c4; }
.dd-page-content p { margin-bottom: 16px; line-height: 1.7; }
.dd-page-content h2, .dd-page-content h3 { margin: 32px 0 12px; color: var(--dd-maroon); }
.dd-page-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--dd-radius);
	box-shadow: var(--dd-shadow);
	margin: 12px 0;
}
.dd-page-content iframe,
.dd-page-content video,
.dd-page-content .wp-video,
.dd-page-content .wp-block-embed__wrapper {
	max-width: 100%;
	width: 100%;
	border-radius: var(--dd-radius);
	margin: 12px 0;
}
.dd-page-content iframe { aspect-ratio: 16 / 9; height: auto; }

.dd-social--light { justify-content: center; margin: 0 0 32px; }
.dd-social--light a {
	background: rgba(110,27,33,.08);
	color: var(--dd-maroon);
}
.dd-social--light a:hover { background: rgba(110,27,33,.16); color: var(--dd-maroon); }

.dd-gmap {
	box-shadow: var(--dd-shadow);
	margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.dd-footer { background: var(--dd-maroon-2); color: #e9d9cd; }
.dd-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 40px;
	padding: 64px 32px 36px;
	max-width: 1180px;
	margin: 0 auto;
}
.dd-logo--footer .dd-logo__title { color: #fff; }
.dd-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.dd-footer p { margin: 0 0 10px; opacity: .9; font-size: 14px; }
.dd-footer a:hover { color: var(--dd-accent-gold); }
.dd-social { display: flex; gap: 14px; margin-top: 14px; }
.dd-social a {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.dd-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding: 18px 0;
	text-align: center;
	font-size: 13px;
	opacity: .7;
	position: relative;
	z-index: 2;
}

/* Фоновая картинка/видео подвала — если загружены (по умолчанию их
   нет, и фон подвала остаётся прежним однотонным тёмно-бордовым). */
.dd-footer { position: relative; overflow: hidden; }
.dd-footer__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.dd-footer__bg img, .dd-footer__bg iframe {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
.dd-footer--has-media::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(46,11,13,.9) 0%, rgba(46,11,13,.94) 100%);
	z-index: 1;
}
.dd-footer__inner { position: relative; z-index: 2; }

/* ---------- Generic content (fallback templates) ---------- */
.dd-content { padding: 160px 0 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.dd-about__inner, .dd-home-taste__inner { grid-template-columns: 1fr; }
	.dd-home-taste__inner .dd-home-taste__image { order: -1; }
	.dd-footer__inner { grid-template-columns: 1fr; }
	.dd-hero h1 { font-size: 36px; }
}

@media (max-width: 640px) {
	.dd-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		background: var(--dd-cream);
		padding: 18px 32px;
		box-shadow: var(--dd-shadow);
	}
	.dd-nav.is-open { display: flex; flex-direction: column; gap: 16px; }
	.dd-nav a { color: var(--dd-heading) !important; }
	.dd-header__right .dd-btn--pill { display: none; }
	.dd-burger { display: flex; }
	.dd-hero { padding: 140px 0 80px; }
}
