/* GGD Home v0.1 — עמוד הבית (במקום עמוד אלמנטור 15738) */

.ggd-hm-page { font-family: "Rubik", sans-serif; }

/* כותרת עם תמונת רקע */
.ggd-hm-hero {
	position: relative;
	display: flex;
	min-height: 300px;
	padding: 0 24px;
	box-sizing: border-box;
	background-color: #2a2a2a;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
.ggd-hm-hero::before { content: ""; position: absolute; inset: 0; background: rgba(42, 42, 42, .65); }
.ggd-hm-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	text-align: center;
}
.ggd-hm-page .ggd-hm-hero__title { margin: 0; font: 600 60px/1 "Rubik", sans-serif; color: #fff; }
.ggd-hm-page .ggd-hm-hero__sub { margin: 8px 0 16px; font: 600 38px/1.2 "Rubik", sans-serif; color: #ffae16; }
.ggd-hm-hero__hl { position: relative; display: inline-block; }
.ggd-hm-hero__hl-text { position: relative; z-index: 1; }
.ggd-hm-hero__hl svg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	transform: translate(-50%, -50%);
	overflow: visible;
}
.ggd-hm-hero__hl path {
	fill: none;
	stroke: #ffae16;
	stroke-width: 9;
	stroke-dasharray: 1500;
	stroke-dashoffset: 1500;
	animation: ggd-hm-dash 1.2s forwards;
}
.ggd-hm-hero__hl path:nth-of-type(2) { animation-delay: .6s; }
@keyframes ggd-hm-dash { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.ggd-hm-hero__hl path { animation: none; stroke-dashoffset: 0; }
}

/* קטגוריות */
.ggd-hm-cats {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 1188px;
	margin: 0 auto;
	padding: 50px 24px;
	box-sizing: border-box;
}
.ggd-hm-page .ggd-hm-cats__title { margin: 0; text-align: center; font: 600 32px/1 "Rubik", sans-serif; color: #290644; }
.ggd-hm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ggd-hm-cat {
	position: relative;
	display: block;
	height: 350px;
	overflow: hidden;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .13);
	background: #eee;
}
.ggd-hm-cat__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ggd-hm-page .ggd-hm-cat__title {
	position: absolute;
	top: 16px;
	right: 8px;
	margin: 0;
	padding: 8px;
	background: #fff;
	border-radius: 8px;
	font: 600 26px/1 "Rubik", sans-serif;
	color: #290644;
}
html:not([dir="rtl"]) .ggd-hm-page .ggd-hm-cat__title { right: auto; left: 8px; }

@media (max-width: 1024px) {
	.ggd-hm-hero { background-attachment: scroll; padding: 0; }
	.ggd-hm-page .ggd-hm-hero__title { font-size: 32px; }
	.ggd-hm-page .ggd-hm-hero__sub { font-size: 32px; }
	.ggd-hm-cats { padding: 32px 16px; }
	.ggd-hm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.ggd-hm-hero { min-height: 200px; }
	.ggd-hm-page .ggd-hm-hero__title { font-size: 30px; }
	.ggd-hm-page .ggd-hm-hero__sub { font-size: 20px; }
	.ggd-hm-grid { grid-template-columns: 1fr; }
}
/* hero חדש (29.10.2026): תמונת סיור, שכבה בהירה יותר, צל לטקסט */
.ggd-hm-hero { min-height: 400px; background-attachment: scroll; background-position: center 55%; }
.ggd-hm-hero::before { background: radial-gradient(ellipse at center, rgba(20, 20, 20, .5) 0%, rgba(20, 20, 20, .3) 70%); }
.ggd-hm-page .ggd-hm-hero__title, .ggd-hm-page .ggd-hm-hero__sub { text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
@media (max-width: 1024px) { .ggd-hm-hero { min-height: 320px; } }
@media (max-width: 767px) { .ggd-hm-hero { min-height: 260px; } }
@media (max-width: 767px) { .ggd-hm-hero { background-position: 25% center; } } /* hero-mobile-pos: המשפחה עם הילדים במובייל */

/* hero טקסט חדש (30.10.2026): בלי הקו המונפש, שורת משנה בכרטיס זכוכית */
.ggd-hm-page .ggd-hm-hero__inner { gap: 20px; align-items: center; }
.ggd-hm-page .ggd-hm-hero__title { font: 700 52px/1.15 "Rubik", sans-serif; letter-spacing: -.5px; max-width: 900px; }
.ggd-hm-page .ggd-hm-hero__sub {
	margin: 0;
	padding: 12px 26px;
	max-width: 760px;
	font: 400 21px/1.45 "Rubik", sans-serif;
	color: #fff;
	text-shadow: none;
	background: rgba(20, 20, 20, .38);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ggd-hm-page .ggd-hm-hero__sub strong { font-weight: 600; color: #ffae16; }
@media (max-width: 1024px) {
	.ggd-hm-page .ggd-hm-hero__title { font-size: 38px; }
	.ggd-hm-page .ggd-hm-hero__sub { font-size: 18px; }
}
@media (max-width: 767px) {
	.ggd-hm-page .ggd-hm-hero__inner { gap: 14px; }
	.ggd-hm-page .ggd-hm-hero__title { font-size: 28px; }
	.ggd-hm-page .ggd-hm-hero__sub { font-size: 15px; padding: 10px 16px; border-radius: 16px; }
}

/* hero — כרטיס שורת המשנה בולט יותר (30.10.2026) */
.ggd-hm-page .ggd-hm-hero__sub { background: rgba(12, 12, 12, .68); border-color: rgba(255, 255, 255, .35); font-weight: 500; font-size: 23px; padding: 14px 30px; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ggd-hm-page .ggd-hm-hero__sub strong { font-weight: 700; color: #ffb52e; }
@media (max-width: 1024px) { .ggd-hm-page .ggd-hm-hero__sub { font-size: 19px; } }
@media (max-width: 767px) { .ggd-hm-page .ggd-hm-hero__sub { font-size: 15px; padding: 10px 16px; } }
