/**
 * מחליקי הצפון — brand styles from Stitch
 * Primary #00676a / #009196 · Heebo + Assistant · RTL
 */

:root {
	--nsk-primary: #00676a;
	--nsk-primary-bright: #009196;
	--nsk-primary-container: #008286;
	--nsk-primary-soft: #e0f2f1;
	--nsk-primary-fixed: #89f3f8;
	--nsk-ink: #191c1d;
	--nsk-ink-muted: #3d4949;
	--nsk-surface: #f8f9fa;
	--nsk-surface-low: #f3f4f5;
	--nsk-white: #ffffff;
	--nsk-section-gap: clamp(3rem, 6vw, 4rem);
	--nsk-radius: 0.75rem;
}

body {
	font-family: "Assistant", sans-serif;
	background-color: var(--nsk-surface);
	color: var(--nsk-ink);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-branding .site-title,
.wp-block-site-title {
	font-family: "Heebo", sans-serif;
}

/* Brand header */
.site-header-wrap,
#masthead {
	background: rgba(248, 249, 250, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #bcc9c9;
}

/* Custom logo — מחליקי הצפון */
.site-branding .custom-logo,
.site-header .custom-logo,
.custom-logo-link img,
.wp-block-site-logo img {
	height: auto;
	width: auto;
	max-height: 56px;
	max-width: 160px;
	object-fit: contain;
}

@media (min-width: 782px) {
	.site-branding .custom-logo,
	.site-header .custom-logo,
	.custom-logo-link img {
		max-height: 64px;
		max-width: 180px;
	}
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.site-branding .site-title a,
.wp-block-site-title a {
	font-family: "Heebo", sans-serif;
	font-weight: 900;
	color: var(--nsk-primary) !important;
	letter-spacing: -0.02em;
}

/* When logo is set, keep title as secondary brand signal on larger screens */
.has-logo-image .site-branding .site-title {
	font-size: 1.05rem;
}

.primary-menu a,
.header-navigation a {
	font-family: "Heebo", sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
}

.primary-menu .current-menu-item > a,
.header-navigation .current-menu-item > a {
	color: var(--nsk-primary);
	border-bottom: 2px solid var(--nsk-primary);
}

/* Buttons */
.wp-block-button__link,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
	background-color: var(--nsk-primary) !important;
	color: var(--nsk-white) !important;
	border-radius: 9999px !important;
	font-family: "Heebo", sans-serif;
	font-weight: 700;
	border: none;
	transition: transform 0.15s ease, background-color 0.2s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--nsk-primary) !important;
	border: 2px solid var(--nsk-primary) !important;
}

.wp-block-button__link:hover,
.button:hover {
	background-color: var(--nsk-primary-bright) !important;
	transform: scale(0.98);
}

/* Hero — full-bleed brand composition */
.nsk-hero {
	position: relative;
	min-height: min(80vh, 720px);
	display: grid;
	align-items: center;
	padding: var(--nsk-section-gap) 0;
	background:
		radial-gradient(circle at 80% 20%, rgba(137, 243, 248, 0.18) 0%, transparent 45%),
		linear-gradient(135deg, rgba(0, 103, 106, 0.06) 0%, rgba(248, 249, 250, 1) 100%);
	overflow: hidden;
}

.nsk-hero__inner {
	display: grid;
	gap: 2rem;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 782px) {
	.nsk-hero__inner {
		grid-template-columns: 1fr 1fr;
	}
}

.nsk-hero__eyebrow {
	display: inline-block;
	background: rgba(0, 130, 134, 0.12);
	color: #004f52;
	font-family: "Heebo", sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	margin-bottom: 1rem;
}

.nsk-hero h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--nsk-ink);
	margin: 0 0 1rem;
}

.nsk-hero h1 .nsk-accent {
	color: var(--nsk-primary);
}

.nsk-hero__lead {
	font-size: 1.125rem;
	color: var(--nsk-ink-muted);
	max-width: 32rem;
	margin-bottom: 1.5rem;
}

.nsk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nsk-hero__media img {
	width: 100%;
	height: auto;
	border-radius: 1rem;
	border: 4px solid var(--nsk-white);
	box-shadow: 0 16px 40px rgba(0, 103, 106, 0.15);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Sections */
.nsk-section {
	padding: var(--nsk-section-gap) 0;
}

.nsk-section--alt {
	background: var(--nsk-surface-low);
}

.nsk-section__intro {
	text-align: center;
	margin-bottom: 2rem;
}

.nsk-section__intro h2 {
	margin-bottom: 0.5rem;
}

.nsk-section__intro p {
	color: var(--nsk-ink-muted);
	margin: 0;
}

.nsk-grid-3 {
	display: grid;
	gap: 1rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 782px) {
	.nsk-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nsk-card {
	background: var(--nsk-white);
	border: 1px solid #e1e3e4;
	border-radius: var(--nsk-radius);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.nsk-card--featured {
	background: var(--nsk-primary);
	color: var(--nsk-white);
	border-color: transparent;
}

.nsk-card--featured h3,
.nsk-card--featured a {
	color: var(--nsk-white);
}

.nsk-card h3 {
	color: var(--nsk-primary);
	margin: 0;
	font-size: 1.5rem;
}

.nsk-card p {
	color: inherit;
	opacity: 0.9;
	flex-grow: 1;
	margin: 0;
}

.nsk-card a {
	font-family: "Heebo", sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
}

.nsk-card a:hover {
	text-decoration: underline;
}

/* Testimonials */
.nsk-quote {
	background: var(--nsk-white);
	border: 1px solid rgba(188, 201, 201, 0.5);
	border-radius: var(--nsk-radius);
	padding: 1.5rem;
}

.nsk-quote p {
	font-style: italic;
	margin: 0 0 1rem;
}

.nsk-quote__author {
	font-family: "Heebo", sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
}

.nsk-quote__meta {
	font-size: 0.75rem;
	color: var(--nsk-ink-muted);
}

/* Footer brand */
.site-footer,
#colophon {
	background: var(--nsk-primary) !important;
	color: var(--nsk-white) !important;
}

.site-footer .custom-logo,
#colophon .custom-logo,
.site-footer .custom-logo-link img {
	max-height: 48px;
	max-width: 140px;
	height: auto;
	width: auto;
}

.site-footer a,
#colophon a {
	color: rgba(255, 255, 255, 0.85) !important;
}

.site-footer a:hover,
#colophon a:hover {
	color: var(--nsk-primary-fixed) !important;
}

/* WooCommerce light brand touch */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: "Heebo", sans-serif;
	color: var(--nsk-primary);
}

.woocommerce span.amount,
.woocommerce .price {
	color: var(--nsk-ink);
	font-family: "Heebo", sans-serif;
	font-weight: 700;
}

/* Contact info strip */
.nsk-contact-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: flex-start;
}

.nsk-contact-item h3 {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
}

.nsk-contact-item a {
	font-weight: 700;
}

/* Schedule table */
.nsk-table {
	width: 100%;
	border-collapse: collapse;
	text-align: right;
}

.nsk-table th,
.nsk-table td {
	padding: 1rem 0.5rem;
	border-bottom: 1px solid rgba(188, 201, 201, 0.4);
}

.nsk-table th {
	font-family: "Heebo", sans-serif;
	font-size: 0.875rem;
	color: var(--nsk-ink-muted);
}

.nsk-price-box {
	background: var(--nsk-primary);
	color: var(--nsk-white);
	border-radius: 1rem;
	padding: 2rem;
}

.nsk-price-box h3 {
	color: var(--nsk-white);
	margin-top: 0;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
	.nsk-hero__media img {
		animation: nsk-fade-up 0.8s ease both;
	}
	.nsk-hero__copy {
		animation: nsk-fade-up 0.7s ease 0.1s both;
	}
	.nsk-card {
		transition: box-shadow 0.25s ease, transform 0.25s ease;
	}
	.nsk-card:hover {
		box-shadow: 0 8px 24px rgba(0, 103, 106, 0.12);
		transform: translateY(-2px);
	}
}

@keyframes nsk-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
