
/* ===== TOURS (updated to match design) ===== */
.section-tours {
	background: #4b362b;
	color: #f6efe9;
	padding: 70px 20px 90px;
}
#tours { background: #4b362b; }
.tours-wrap { max-width: 1200px; margin: 0 auto; }
.tours-title {
	text-align: center;
	font-size: 44px;
	line-height: 1.2;
	margin: 0 0 28px;
	color: #ffffff;
	text-shadow: 0 1px 0 rgba(0,0,0,.3);
}
.tours-decor{
	position: relative;
	height: 140px;
	margin-bottom: 10px;
}
.decor-clock{
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	pointer-events: none;
}
.tours-grid {
	display: grid;
	grid-template-columns: 1fr 80px 120px 80px 1fr;
	grid-template-rows: auto auto auto;
	gap: 20px 30px;
	align-items: center;
	justify-items: center;
	max-width: 1200px;
	margin: 0 auto;
}
.tour-card {
	background: #b99074;
	border-radius: 14px;
	padding: 20px 24px;
	width: 100%;
	max-width: 400px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.tour-card:first-child {
	grid-column: 1;
	grid-row: 1;
}
.tour-card:nth-child(5) {
	grid-column: 5;
	grid-row: 1;
}
.tour-card--center {
	grid-column: 1 / -1;
	grid-row: 3;
	max-width: 400px;
	justify-self: center;
}
.tour-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
}
.tour-arrow img {
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}
/* Первая стрелка - между первой карточкой и часами (слева от часов) */
.tour-arrow--first {
	grid-column: 2;
	grid-row: 1;
	transform: rotate(45deg);
}
/* Вторая стрелка - между часами и второй карточкой (справа от часов) */
.tour-arrow--second {
	grid-column: 4;
	grid-row: 1;    
	transform: rotate(230deg);
}
.tour-arrow--second img {
	transform-origin: center center;
}
[dir="rtl"] .tour-arrow--first {
	transform: rotate(225deg);
}

[dir="rtl"] .tour-arrow--second {
	transform: rotate(50deg);
}
.tour-arrow--down {
	grid-column: 3;
	grid-row: 2;
	transform: rotate(40deg);
}
.tour-decor-inline {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	grid-row: 1;
	grid-column: 3;
	gap: 8px;
}
.tour-decor-inline .decor-clock {
	position: static;
	width: 90px;
	height: auto;
	transform: none;
	left: auto;
	top: auto;
}
.tour-decor-text {
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	text-transform: lowercase;
}
.section-tours .tour-card h3 {
	margin: 0 0 12px;
	font-size: 14pt;
	font-weight: 400;
	color: #ffffff;
}
.tour-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(114, 78, 58, 1);
	color: #ffe6cc;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.08);
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(0,0,0,.25);
	transition: transform .15s ease, background-color .3s ease, color .3s ease, box-shadow .15s ease;
}
.tour-btn:hover {
	transform: translateY(-1px);
	background: #ffb257;
	color: #724e3a;
	box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.tour-btn--ghost {
	background: rgba(43,34,28,.35);
	cursor: default;
}
.tour-btn--ghost:hover {
	transform: none;
	background: rgba(43,34,28,.35);
	color: #ffe6cc;
}

@media (max-width: 900px) {
	.section-tours { padding: 48px 16px 64px; }
	.tours-title { font-size: 32px; margin-bottom: 20px; }
	.tours-grid { 
		display: grid;
		grid-template-columns: 1fr; 
		grid-template-rows: auto;
		gap: 18px; 
	}
	.tour-card:first-child { 
		order: 2;
	}
	.tour-card:nth-child(5) { 
		order: 3;
	}
	.tour-card--center { 
		order: 4;
	}
	.tour-card, .tour-card--center { 
		max-width: 100%; 
		grid-column: 1;
		grid-row: auto;
	}
	.tour-arrow--first, 
	.tour-arrow--second,
	.tour-arrow--down { 
		display: none; 
	}
	.tour-decor-inline { 
		grid-column: 1; 
		grid-row: auto;
		display: flex;
		order: 1;
	}
	.tours-decor{ height: 80px; }
	.decor-clock{ width: 56px; }
}
/* ====== Landing (index.php) - custom styles ====== */
html, body { height: 100%; }
body {
	margin: 0;
	color: #f6e7d6;
	background:#1a120d;
	font-family: 'Montserrat', sans-serif;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; margin: 0 auto; }

/* Header (topbar) */
.topbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	min-height: 56px;
	padding: 0 16px;
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 6px, rgba(255,255,255,0.0) 6px 12px),
		#3a2a21;
	backdrop-filter: blur(4px);
	z-index: 10;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
	max-width: 1200px;
	margin: 0 auto;
	min-height: 56px;
	display: flex;
	flex-wrap: nowrap;          /* верхние 2 блока не переносятся */
	align-items: center;
	justify-content: space-between;
	column-gap: 12px;          /* горизонтальный зазор между блоками */
	row-gap: 10px;             /* расстояние между строками (когда переносятся) */
	padding: 10px 16px;        /* одинаковый верх/низ до текста */
}
.brand {
	display: flex; align-items: center; gap: 10px;
	flex: 0 0 auto;            /* фикс слева, не прыгает */
}
.brand img { height: auto; width: auto; display: block; margin: 10px; }
.topbar-right{
	display: flex;
	align-items: center;
	justify-content: flex-end; /* выравниваем по правому краю */
	align-content: flex-end;   /* при переносе строки — тоже справа */
	gap: 12px;              /* небольшой зазор между меню и языками */
	flex: 1 1 auto;         /* правый общий блок тянется */
	flex-wrap: wrap;        /* внутри правого блока элементы могут прыгать */
	text-align: right;
}
.nav-links {
	display: flex; align-items: center; justify-content: flex-end; gap: 28px;
	font-weight: 400;
	flex: 0 1 auto;         /* не растягиваем, чтобы аккуратно прилипал вправо */
	padding: 0;                 /* отступы задаём контейнером, чтобы сверху/снизу были равные 10px */
	margin-right: 0;            /* правый отступ убран для симметрии */
}
.nav-links a { color: #e6d9cf; opacity:.9; font-weight: 400; }
.nav-links a:hover { opacity: 1; }
.nav-lang {
	display: inline-flex; align-items: center; gap: 10px;
	flex: 0 1 auto; /* справа */
	justify-content: flex-end;
	padding: 0;                 /* такие же отступы как у меню — через контейнер */
	margin-left: 100px;         /* отступ слева от блока языков */
}
.nav-lang .lang-item {
	display: inline-flex; align-items: center; gap: 6px;
	color: #e6d9cf;
	opacity: .95;
	text-decoration: none;
	transition: opacity 0.3s ease;
}
.nav-lang .lang-item:hover {
	opacity: 1;
}
.nav-lang .lang-item.active {
	opacity: 1;
	font-weight: 600;
}
.nav-lang .lang-code { font-weight: 400; }
.nav-lang .lang-item.active .lang-code {
	font-weight: 600;
}
.nav-lang .lang-item img {
	height: 20px;
	min-height: 20px;
	width: 20px;
	min-width: 20px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}
.nav-lang .sep {
	width: 1px; height: 16px; background: rgba(255,255,255,0.25);
	display: inline-block;
	margin: 0 2px;
}

/* Hero */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('../jaffadream/hqfiles/bg.avif');
	background-position: right center;
	background-size: auto 100%;
	background-repeat: no-repeat;
}

@media (min-width: 582px) {
	.hero::before {
		background-size: cover;
		background-position: center;
	}
}
.hero::after {
	content: "";
	position: absolute; left:0; right:0; bottom:0; height: 0;
	background: transparent;
}
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #ffffff;
	margin-top: 82px;
	padding: 0 24px;
	min-height: calc(100vh - 99px);
	background: #000;
}
.hero-content { 
	position: relative; 
	max-width: 800px; 
	width: 100%; 
	z-index: 2;
	margin: auto 0;
}
.hero-slider {
	position: relative;
	min-height: 200px;
	overflow: hidden;
}
.hero-slide {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateX(100%);
	transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
	pointer-events: none;
}
.hero-slide.active {
	opacity: 1;
	position: relative;
	transform: translateX(0);
	pointer-events: auto;
}
.hero-slide.prev {
	transform: translateX(-100%);
	opacity: 0;
}
.hero-card {
	background: transparent;
	border: none;
	padding: 32px 18px;
	border-radius: 22px;
	box-shadow: none;
	backdrop-filter: none;
	margin: 0;
	cursor: default;
}
.hero-card:hover {
	transform: none;
	box-shadow: none;
}
/* Hero typography - все размеры в одном месте */
.h1 {
	font-size: clamp(30px, 4vw, 50px);
	font-weight: 500;
	color: #ffffff !important;
	margin: 0 0 10px;
	letter-spacing: .4px;
	line-height: 1.15;
	text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.hero-image {
	display: none;
}
.lead {
	font-size: clamp(20px, 2vw, 25px);
	line-height: 1.55;
	color: #ffffff !important;
	margin: 0;
}
.hero-actions { display: flex; justify-content: center; gap: 17px; margin-top: 11px; flex-wrap: wrap; }
.pill {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 7px 13px;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	border: 1px solid #ffffff;
	font-weight: 400;
	font-size: 12px;
	box-shadow: none;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
	white-space: nowrap;
	text-decoration: none;
	width: 150px;
}
.pill:hover {
	background: #724e3a;
	border-color: #724e3a;
	color: #ffffff;
}

/* Socials */
.socials {
	position: fixed;
	right: 18px; top: 40%;
	display: flex; flex-direction: column; gap: 10px;
	z-index: 9;
}
.soc {
	display: inline-block;
	transition: transform .15s ease;
}
.soc:hover { transform: translateY(-2px); }
.soc img { width: 28px; height: 28px; display:block; }

/* Bottom padding strip */
.page-bottom { display: none; height: 0; background: transparent; }

/* Responsive */
@media (max-width: 768px) {
	.nav-links { display: none; }
	.hero-actions { gap: 8px; }
	.socials { right: 12px; }
	/* На мобильных шапка не фиксируется к экрану */
	.topbar { position: absolute; }
	/* уменьшить верхний отступ херо, так как фиксированной шапки нет */
	.hero { 
		padding: 96px 12px 0; 
		min-height: 100vh;
		margin-top: 0;
	}
	.hero::after { height: 0; background: transparent; }
	.hero-card { margin: 0; padding: 20px 14px; }
	.hero::before { background-size: auto 100%; background-position: right center; }
	.nav-lang {
		margin-left: 0px;
		flex-direction: column;
		gap: 3px;
		flex-shrink: 0;
	}
	.nav-lang .lang-item img {
		height: 20px;
		width: 20px;
		object-fit: contain;
		display: block;
	}
	.nav-lang .sep {
		display: none;
	}
	.header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }


    .immersive-content {
        flex-direction: column;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }
	.carousel-next, .carousel-prev {
		display: none;
	}
}

@media (max-width: 400px) {
	.hero {
		padding: 96px 8px 0;
		margin-top: 0;
		min-height: 560px;
	}
	.hero::after { height: 0; background: transparent; }
	.hero::before { 
		background-image: 
			repeating-linear-gradient(-45deg, rgba(245, 245, 220, 0.3) 0px, rgba(245, 245, 220, 0.3) 1px, transparent 1px, transparent 4px),
			url('../jaffadream/hqfiles/bg3.jpg');
		background-size: cover;
		background-position: center;
		animation: bgMove 30s infinite ease-in-out;
	}
	@keyframes bgMove {
		0% { background-position: 50% 50%; }
		25% { background-position: 55% 55%; }
		50% { background-position: 50% 60%; }
		75% { background-position: 45% 55%; }
		100% { background-position: 50% 50%; }
	}
	.hero-card { 
		margin: 0;
		padding: 0px 12px 20px; 
		border-radius: 16px;
	}
	.h1 {
		margin: 10px 0;
	}
	.hero-image {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto 10px;
		max-width: 100%;
	}
	.lead {
		font-size: clamp(16px, 1.6vw, 20px);
	}
	.hero-actions { 
		margin-top: -13px;
		flex-direction: column;
		align-items: center;
	}
	.pill { width: 150px; justify-content: center; padding: 6px 11px; font-size: 12px; }
	.nav-lang .lang-code {
		display: none;
	}

	.topbar-right.rtl-layout .nav-lang {
		margin-right: 0;
	}
	.nav-lang .lang-item img {
		height: 20px;
		width: 20px;
		margin: 2px;
	}
	.topbar-right.rtl-layout .nav-lang {
		margin-right: 0; /* мобильный RTL: убираем правый отступ */
	}
	[dir="rtl"] .nav-lang {
		margin-right: 0; /* на узких экранах убираем отступ */
	}
	[dir="rtl"] .nav-lang .lang-item img {
		height: 20px;
		width: 20px;
	}
	[dir="rtl"] .nav-lang .lang-item img {
		height: 20px;
		width: 20px;
		object-fit: contain;
		display: block;
	}
	.socials {
		right: 20px;
	}

}
/*
Theme Name: Israel Immersive
Theme URI: https://www.israel-immersive.com/
Description: Immersive tours in Old Jaffa
Version: 1.0
Author: Israel Immersive Team
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2b2b2b;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Header */
header {
    background-color: #000000;
    padding: 15px 0;
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 999;
}

body:not(.admin-bar) header {
    top: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo a {
    display: block;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
}

nav ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    color: #ffffff;
    font-size: 22px;
}

.social-links a:hover {
    color: #ffd700;
    transform: scale(1.1);
}



/* Sections */
section {
    padding: 50px 20px;
}

/* Immersive section (next block) */
.section-immersive {
	background: #ffffff;
	color: #2b221c;
}
.section-immersive h2 {
	font-size: 32px;
	font-weight: 700;
	color: #2b221c;
	margin: 0 0 24px;
	text-align: left;
}
[dir="rtl"] .section-immersive h2 {
	text-align: right;
}
.imm-wrap {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 36px;
	align-items: start;
}
.imm-gallery {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 20px 20px;
}
.imm-gallery img {
	height: 300px;
	width: auto;
	object-fit: cover;
}
.section-date-button {
	background: rgb(50, 65, 88);
	padding: 50px 20px;
	margin-top: -30px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
}
.date-button-wrapper {
	max-width: 1200px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.date-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #000000;
	color: #ffffff;
	padding: 16px 32px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 18px;
	transition: background-color 0.3s ease, transform 0.2s ease;
}
.date-icon {
	flex-shrink: 0;
}
.date-button:hover {
	background: #333333;
	transform: translateY(-2px);
}
.section-video {
	padding: 50px 20px;
	background: #ffffff;
}
.video-wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}
.video-wrapper iframe {
	display: block;
	position: static;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}
.imm-text { padding-right: 10%; }
.imm-text p { margin: 0 0 14px; line-height: 1.7; }
.imm-features {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.imm-features-title {
	visibility: hidden;
	margin: 0 0 24px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	height: auto;
}
.imm-feature-item {
	display: flex;
	align-items: center;
	gap: 16px;
}
.imm-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	background: rgb(49, 48, 48);
	border-radius: 50%;
	padding: 16px;
	box-sizing: border-box;
}
.imm-feature-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
.imm-feature-item p {
	margin: 0;
	line-height: 1.7;
}
.imm-note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 25px;
}
.imm-note img { width: 38px; height: 38px; }
.imm-note span { font-size: 14px; }

@media (max-width: 900px) {
	.imm-wrap { grid-template-columns: 1fr; }
	.section-immersive h2 { font-size: 26px; }
	.imm-img { height: 270px; } /* -10% */
	.imm-text { padding-right: 0; }
	.imm-features-title { display: none; }
	.imm-gallery {
		flex-direction: column;
		gap: 40px;
	}
	.imm-gallery img {
		width: 100%;
		max-width: 400px;
		height: auto;
	}
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #000000;
}


.immersive-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.immersive-text {
    flex: 1;
}

.immersive-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #2b2b2b;
}

.immersive-image {
    flex: 1;
}

.immersive-image img {
    width: 100%;
    border-radius: 8px;
}

/* (Удалено) старые стили "Tours Section" – заменены на .section-tours, .tours-grid, .tour-card, .tour-btn выше */

/* Target Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.audience-item {
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.audience-item:hover {
    transform: translateY(-8px);
}

.audience-item img {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.audience-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
    text-transform: uppercase;
}

.audience-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

/* Team Section */
#team {
    background-color: #f8f8f8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-member h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000000;
}

.team-member p {
    color: #666666;
    font-size: 16px;
}

/* Reviews Section */
.section-reviews {
	background: #efe2d6;
	padding: 64px 20px 80px;
}
.reviews-wrap {
	max-width: 1200px;
	margin: 0 auto;
}
.reviews-title {
	text-align: center;
	font-size: 36px;
	line-height: 1.2;
	margin: 0 0 40px;
	color: #6c4b36;
}
.reviews-carousel {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

[dir="rtl"] .reviews-carousel {
	direction: ltr;
}
.carousel-container {
	position: relative;
	overflow: hidden;
	background: #e0e0e0;
	border-radius: 12px;
	min-height: 300px;
}
.carousel-track {
	display: flex;
	/* СКОРОСТЬ АНИМАЦИИ ДВИЖЕНИЯ СЛАЙДА: 0.3s = 300 миллисекунд */
	/* Чтобы изменить скорость движения, измени значение 0.3s (например, 0.5s - медленнее, 0.1s - быстрее) */
	transition: transform 0.6s ease;
	width: 100%;
}
.review-slide {
	min-width: 100%;
	width: 100%;
	flex-shrink: 0;
	padding: 40px 30px;
	box-sizing: border-box;
}
.review-content {
	text-align: left;
}
.review-author {
	font-size: 16px;
	font-weight: 600;
	color: #6c4b36;
	margin-bottom: 20px;
}
.review-text {
	font-size: 16px;
	line-height: 1.7;
	color: #6c4b36;
}
.review-text p {
	margin: 0 0 16px;
}
.review-text p:last-child {
	margin-bottom: 0;
}
.carousel-prev,
.carousel-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	font-size: 48px;
	color: #999;
	cursor: pointer;
	z-index: 10;
	padding: 10px;
	transition: color 0.3s ease;
}
.carousel-prev:hover,
.carousel-next:hover {
	color: #6c4b36;
}
.carousel-prev {
	left: -50px;
}
.carousel-next {
	right: -50px;
}
.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}
.carousel-dots .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid #999;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.3s ease;
}
.carousel-dots .dot.active {
	background: #999;
}

/* Gallery Section */
.section-gallery {
	background: #efe2d6;
	padding: 0 20px 80px;
}
.gallery-wrap {
	max-width: 900px;
	margin: 0 auto;
}
.gallery-title {
	text-align: center;
	font-size: 36px;
	line-height: 1.2;
	margin: 0 0 48px;
	color: #6c4b36;
}
.gallery-block {
	margin-bottom: 32px;
	overflow: hidden;
	border-radius: 12px;
}
.gallery-block:last-child {
	margin-bottom: 0;
}
.gallery-carousel {
	position: relative;
	max-width: 100%;
	margin-bottom: 24px;
}

[dir="rtl"] .gallery-carousel {
	direction: ltr;
}
.gallery-container {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}
.gallery-track {
	display: flex;
	transition: transform 0.6s ease;
	width: 100%;
}
.gallery-slide {
	min-width: 100%;
	width: 100%;
	flex-shrink: 0;
}
.gallery-slide img {
	width: 100%;
	height: auto;
	display: block;
}
.gallery-prev,
.gallery-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	border: none;
	font-size: 48px;
	color: #999;
	cursor: pointer;
	z-index: 10;
	padding: 10px 15px;
	transition: color 0.3s ease, opacity 0.3s ease, background 0.3s ease;
	opacity: 0;
	pointer-events: none;
	border-radius: 4px;
}
.gallery-carousel.active .gallery-prev,
.gallery-carousel.active .gallery-next {
	opacity: 1;
	pointer-events: auto;
}
.gallery-prev:hover,
.gallery-next:hover {
	color: #6c4b36;
	background: rgba(255, 255, 255, 0.9);
}
.gallery-prev {
	left: 10px;
}
.gallery-next {
	right: 10px;
}
.gallery-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
.gallery-carousel.active .gallery-dots {
	opacity: 1;
	pointer-events: auto;
}
.gallery-slide {
	cursor: pointer;
}
.gallery-dots .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid #999;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.3s ease;
}
.gallery-dots .dot.active {
	background: #999;
}
.gallery-info {
	padding: 0;
	text-align: left;
}
.gallery-name {
	font-size: 18px;
	font-weight: 500;
	color: #6c4b36;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
}

[dir="rtl"] .gallery-name {
	text-align: right;
}

[dir="rtl"] .gallery-info {
	text-align: right;
}

/* FAQ Section */
#faq {
    background-color: #f8f8f8;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border-bottom: 2px solid #dddddd;
    padding-bottom: 10px;
}

.faq-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
    text-align: left;
}

.faq-item p {
    color: #555555;
    line-height: 1.8;
    font-size: 17px;
}

/* Contact Form */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 2px solid #dddddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000000;
}

.contact-form button {
    background: #000000;
    color: #ffffff;
    padding: 16px 50px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #ffd700;
    color: #000000;
}

/* Footer */
footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin-bottom: 10px;
    font-size: 15px;
}

/* ===== AUDIENCE grid 4x ===== */
.section-audience{
	background: linear-gradient(180deg,#efe2d6 0%, #e6d3c2 100%);
	padding: 48px 20px 64px;
}
.aud-wrap{ max-width: 1200px; margin: 0 auto; }
.aud-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 42px 48px;
	align-items: start;
	text-align: center;
}
.aud-item{ padding: 8px 10px; }
.aud-ico{
	margin: 0 auto 12px; object-fit: contain;
}
.aud-item h4{ margin: 0 0 10px; font-weight: 700; }
.aud-item p{ margin: 0; color: #2b2b2b; font-size: 14px; line-height: 1.6; }
.aud-title{ text-align:center; font-size:36px; line-height:1.2; margin:0 0 28px; color:#6c4b36; }
@media (max-width: 1024px){
	.aud-grid{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px){
	.aud-grid{ grid-template-columns: repeat(2,1fr); gap: 24px; }
	.aud-ico{ width: 56px; height:56px; }
}
@media (max-width: 430px){
	.aud-grid{ grid-template-columns: 1fr; }
}

/* ===== TEAM ===== */
.section-team{
	background: #f4e9df;
	padding: 56px 20px 72px;
}
.team-wrap{ max-width: 1200px; margin: 0 auto; }
.team-title{ text-align: center; font-size: 40px; margin: 0 0 28px; color: #2b221c; }
.team-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 60px;
	align-items: start;
	text-align: center;
}
.member-photo{
	width: 220px;
	height: 220px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 14px;
	box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.member-name{ margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #2b221c; }
.member-role{ color: #6b6b6b; font-size: 14px; }
@media (max-width: 900px){
	.team-grid{ grid-template-columns: repeat(2,1fr); gap: 28px; }
	.member-photo{ width: 200px; height: 200px; }
}
@media (max-width: 600px){
	.team-grid{ grid-template-columns: 1fr; }
}

/* FAQ Section */
.section-faq {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	padding: 40px 20px 50px;
}
.section-faq::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(
		45deg,
		rgba(239, 226, 214, 0.7) 0px,
		rgba(239, 226, 214, 0.7) 2px,
		rgba(239, 226, 214, 0.5) 2px,
		rgba(239, 226, 214, 0.5) 4px
	);
	z-index: 1;
}
.faq-wrap {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}
.faq-title {
	text-align: center;
	font-size: 36px;
	line-height: 1.2;
	margin: 0 0 24px;
	color: #6c4b36;
}
.faq-content {
	background: #f6efe9;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.faq-item {
	border-bottom: 1px solid #d4c4b4;
}
.faq-item:last-child {
	border-bottom: none;
}
.faq-question {
	width: 100%;
	background: transparent;
	border: none;
	padding: 12px 0;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: normal;
	color: #6c4b36;
	transition: color 0.3s ease;
}
[dir="rtl"] .faq-question {
	text-align: right;
	flex-direction: row-reverse;
}
[dir="rtl"] .faq-question span:first-child {
	flex: 1;
	text-align: right;
	padding-right: 10px; /* отступ справа для текста в RTL */
}
[dir="rtl"] .faq-icon {
	margin-left: 15px;  /* в RTL иконка слева, даём отступ слева */
	margin-right: 0;
}
.faq-question:hover {
	color: #4b362b;
}
.faq-icon {
	font-size: 40px;
	font-weight: normal;
	color: #6c4b36;
	margin-left: 15px;
	flex-shrink: 0;
}
.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding: 0 0;
}
.faq-answer.active {
	max-height: 500px;
	padding: 0 0 12px 0;
}
.faq-answer p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #6c4b36;
}
.faq-answer a {
	color: #4b362b;
	text-decoration: underline;
}
.faq-answer a:hover {
	color: #6c4b36;
}

/* Contact Section */
.section-contact {
	background: #f6efe9;
	padding: 48px 20px 60px;
}
.contact-wrap {
	max-width: 900px;
	margin: 0 auto;
}
.contact-title {
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 28px;
	color: #2b221c;
	font-weight: 600;
}
.contact-form {
	background: #f6efe9;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.form-group {
	margin-bottom: 0px;
}
.form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	color: #2b221c;
	font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #2b221c;
	border-radius: 4px;
	font-size: 16px;
	font-family: inherit;
	background: #ffffff;
	color: #2b221c;
	box-sizing: border-box;
}
.form-group textarea {
	resize: vertical;
	min-height: 100px;
}
.submit-btn {
	background: #2b221c;
	color: #ffffff;
	border: none;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	margin-top: 6px;
}
.submit-btn:hover {
	background: #4b362b;
}
.honeypot-field {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}
.form-alert {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 15px;
	font-weight: 500;
}
.form-alert--success {
	background: #e2f7e7;
	color: #1b5e20;
}
.form-alert--error {
	background: #fde7e7;
	color: #b71c1c;
}

.whatsapp-contact {
	margin-top: 24px;
	display: flex;
	justify-content: center;
}
.whatsapp-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	border-radius: 999px;
	background: linear-gradient(135deg, #25D366, #00b853);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
	text-decoration: none;
	color: #ffffff;
	font-weight: 600;
	font-size: 15px;
}
.whatsapp-icon-img {
	width: 48px;
	height: 48px;
	display: block;
}
.whatsapp-label {
	font-size: 15px;
	white-space: nowrap;
}
.whatsapp-contact-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(37, 211, 102, 0.55);
}
@media (max-width: 480px) {
	.whatsapp-contact-link {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding-inline: 16px;
	}
	.whatsapp-label {
		white-space: normal;
	}
}

/* Footer */
.site-footer {
	background: #2b221c;
	padding: 30px 20px;
	text-align: center;
}
.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}
.footer-content p {
	margin: 0;
	color: #ffffff;
	font-size: 14px;
}

@media (max-width: 768px) {
	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* RTL Support for Hebrew */
[dir="rtl"] {
	direction: rtl;
	text-align: right;
}

.topbar-right.rtl-layout {
	display: block;
}

.topbar-right.rtl-layout .nav-lang {
	float: left;
	margin-left: 0;
	margin-right: 100px; /* широкий экран — отступ */
	clear: none;
}

.topbar-right.rtl-layout .nav-links {
	float: left;
	flex-direction: row-reverse;
	clear: none;
}

[dir="rtl"] .topbar-right {
	flex-direction: row;
	justify-content: flex-start;
	align-content: flex-start;
	text-align: left;
}

[dir="rtl"] .nav-lang {
	margin-left: 0;
	margin-right: 100px; /* широкий экран — оставляем отступ */
	justify-content: flex-start;
	order: 0;
}
[dir="rtl"] .nav-lang .lang-item img {
	height: 20px;
	width: 20px;
	object-fit: contain;
	display: block;
}

[dir="rtl"] .nav-links {
	flex-direction: row-reverse;
	justify-content: flex-start;
	margin-right: 0;
	order: 1;
}

[dir="rtl"] .hero-card {
	text-align: center;
}

[dir="rtl"] .immersive-content {
	flex-direction: row-reverse;
}


[dir="rtl"] .aud-title,
[dir="rtl"] .team-title,
[dir="rtl"] .aud-item,
[dir="rtl"] .member {
	text-align: center;
}

[dir="rtl"] .review-content,
[dir="rtl"] .faq-item,
[dir="rtl"] .form-group {
	text-align: right;
}

[dir="rtl"] .contact-form {
	text-align: right;
}

[dir="rtl"] .contact-form input,
[dir="rtl"] .contact-form textarea {
	text-align: right;
}

[dir="rtl"] .socials {
	right: auto;
	left: 18px;
}

/* RTL mobile override: убираем правый отступ языков на узких экранах */
@media (max-width: 768px) {
	.topbar-right.rtl-layout .nav-lang,
	[dir="rtl"] .nav-lang {
		margin-right: 0;
		margin-left: 0;
	}
}

