/**
 * VIBES homepage styles.
 */

/* Hiring section — full homepage band between services and booking CTA */
.vibes-hiring {
	background: var(--vibes-dark);
	color: var(--vibes-white);
	padding: 4rem 0;
	text-align: center;
	border-top: 1px solid rgba(197, 157, 95, 0.28);
	border-bottom: 1px solid rgba(197, 157, 95, 0.28);
}

.vibes-hiring__inner {
	max-width: 40rem;
}

.vibes-hiring__label {
	font-family: var(--vibes-font-ui);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--vibes-gold);
	margin: 0 0 0.85rem;
}

.vibes-hiring__title {
	font-family: var(--vibes-font-display);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 1rem;
	color: var(--vibes-white);
}

.vibes-hiring__text {
	margin: 0 auto 1.75rem;
	font-size: 1.05rem;
	line-height: 1.65;
	opacity: 0.9;
	max-width: 38ch;
}

.vibes-hiring .vibes-btn--primary {
	background: var(--vibes-gold);
	border-color: var(--vibes-gold);
	color: var(--vibes-dark);
}

.vibes-hiring .vibes-btn--primary:hover,
.vibes-hiring .vibes-btn--primary:focus-visible {
	background: var(--vibes-white);
	border-color: var(--vibes-white);
	color: var(--vibes-dark);
	outline: none;
}

.vibes-hero-banner {
	min-height: 100vh;
	min-height: 100svh;
	/* Plain jpg fallback for browsers that don't support image-set() */
	background-image: var(--vibes-hero-bg-jpg, var(--vibes-hero-bg, url('/wp-content/uploads/2025/02/vibes-copy-4.jpg')));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: var(--vibes-white);
}

@supports (background-image: image-set(url('x') type('image/webp'))) {
	.vibes-hero-banner {
		/* Use image-set() with WebP when the browser supports it */
		background-image: var(--vibes-hero-bg, var(--vibes-hero-bg-jpg, url('/wp-content/uploads/2025/02/vibes-copy-4.jpg')));
	}
}

.vibes-intro {
	padding: 4rem 0;
}

.vibes-intro__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.vibes-intro__script {
	font-family: var(--vibes-font-script);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	color: var(--vibes-gold);
	text-align: center;
	margin: 0 0 0.5rem;
}

.vibes-intro__title {
	font-family: var(--vibes-font-display);
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1.05;
	color: var(--vibes-dark);
	text-align: center;
	margin: 0 auto 1.5rem;
	max-width: 18ch;
}

.vibes-intro__text {
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--vibes-dark);
	margin: 0 auto 1rem;
	max-width: 52ch;
}

.vibes-intro__highlight {
	display: block;
	margin-top: 1.25rem;
	font-weight: 500;
	color: var(--vibes-gold-dark);
}

.vibes-intro__cta {
	text-align: center;
	margin-top: 1.75rem;
}

.vibes-intro__photo img {
	width: 100%;
	max-width: 565px;
	margin: 0 auto;
}

.vibes-services {
	background: var(--vibes-gray-100);
	padding: 4rem 0;
}

.vibes-services__title {
	font-family: var(--vibes-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	text-align: center;
	margin: 0 0 0.5rem;
	color: var(--vibes-dark);
}

.vibes-services__subtitle {
	font-family: var(--vibes-font-script);
	font-size: 1.75rem;
	color: var(--vibes-gold);
	text-align: center;
	margin: 0 0 2.5rem;
}

.vibes-services-carousel {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem;
}

.vibes-carousel__viewport {
	overflow: hidden;
	touch-action: pan-y pinch-zoom;
}

.vibes-carousel__track {
	display: flex;
	gap: 1.25rem;
	transition: transform 0.45s ease;
	will-change: transform;
}

.vibes-carousel__slide {
	flex: 0 0 calc(100% - 2.5rem);
	min-width: 0;
	display: flex;
}

.vibes-service-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 9.5rem;
	height: 100%;
	background: var(--vibes-white);
	padding: 1.75rem 1.5rem;
	border-radius: var(--vibes-radius);
	box-shadow: var(--vibes-shadow);
	text-align: center;
	border: 1px solid transparent;
	transition:
		border-color var(--vibes-transition),
		box-shadow var(--vibes-transition),
		transform var(--vibes-transition);
}

.vibes-service-card:hover,
.vibes-service-card:focus-within {
	border-color: var(--vibes-gold);
	box-shadow: 0 8px 32px rgba(197, 157, 95, 0.18);
	transform: translateY(-2px);
}

.vibes-service-card h3 {
	font-family: var(--vibes-font-display);
	font-size: clamp(1rem, 2.2vw, 1.35rem);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0.02em;
	line-height: 1.25;
	margin: 0 0 0.75rem;
	color: var(--vibes-dark);
	hyphens: auto;
	overflow-wrap: break-word;
}

.vibes-service-card p {
	flex: 1;
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: #666;
	line-height: 1.55;
}

.vibes-service-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.35rem 0.5rem;
	margin-top: auto;
	font-family: var(--vibes-font-ui);
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--vibes-gold-dark);
	text-decoration: none;
	transition: color var(--vibes-transition);
}

.vibes-service-card__link:hover,
.vibes-service-card__link:focus-visible {
	color: var(--vibes-gold);
	outline: none;
	text-decoration: underline;
}

.vibes-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--vibes-gray-200);
	border-radius: 50%;
	background: var(--vibes-white);
	color: var(--vibes-gold-dark);
	cursor: pointer;
	transition:
		background var(--vibes-transition),
		border-color var(--vibes-transition),
		color var(--vibes-transition),
		opacity var(--vibes-transition);
}

.vibes-carousel__btn svg {
	width: 1.25rem;
	height: 1.25rem;
}

.vibes-carousel__btn:hover:not(:disabled),
.vibes-carousel__btn:focus-visible {
	background: var(--vibes-gold);
	border-color: var(--vibes-gold);
	color: var(--vibes-white);
	outline: none;
}

.vibes-carousel__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

@media (min-width: 640px) {
	.vibes-carousel__slide {
		flex-basis: calc(50% - 0.625rem);
	}
}

@media (min-width: 992px) {
	.vibes-carousel__slide {
		flex-basis: calc(33.333% - 0.834rem);
	}
}

@media (min-width: 1200px) {
	.vibes-carousel__slide {
		flex-basis: calc(25% - 0.9375rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vibes-carousel__track {
		transition: none;
	}
}

.vibes-cta-band {
	background: var(--vibes-dark);
	color: var(--vibes-white);
	padding: 3.5rem 0;
	text-align: center;
}

.vibes-cta-band h2 {
	font-family: var(--vibes-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 400;
	margin: 0 0 0.75rem;
}

.vibes-cta-band p {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	opacity: 0.9;
	max-width: 40ch;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.vibes-hero-banner {
		min-height: 25vh;
		background-size: cover;
	}

	.vibes-intro {
		padding: 2.5rem 0;
	}

	.vibes-intro__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.vibes-intro__title {
		letter-spacing: -0.05em;
	}

	.vibes-intro__text {
		font-size: 1.05rem;
		line-height: 1.6;
	}

	.vibes-services {
		padding: 3rem 0;
	}

	.vibes-hiring {
		padding: 3rem 0;
	}

	.vibes-hiring__text {
		font-size: 1rem;
	}

	.vibes-services-carousel {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.vibes-carousel__btn {
		display: none;
	}

	.vibes-carousel__viewport {
		grid-row: 1;
	}

	.vibes-carousel__slide {
		flex-basis: calc(100% - 1.5rem);
	}
}

/* ─── About section ─────────────────────────────────────────── */
.vibes-about {
	padding: 4.5rem 0;
	background: var(--vibes-gray-100);
}

.vibes-about__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

.vibes-about__grid--has-image {
	grid-template-columns: 1fr 1fr;
}

.vibes-about__title {
	font-family: var(--vibes-font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 400;
	color: var(--vibes-dark);
	margin: 0 0 1.25rem;
}

.vibes-about__text {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--vibes-dark);
}

.vibes-about__media img {
	width: 100%;
	border-radius: var(--vibes-radius);
	box-shadow: var(--vibes-shadow);
}

@media (max-width: 767px) {
	.vibes-about__grid--has-image {
		grid-template-columns: 1fr;
	}
}

/* ─── Contact band ───────────────────────────────────────────── */
.vibes-contact-band {
	background: var(--vibes-dark);
	color: var(--vibes-white);
	padding: 4rem 0;
}

.vibes-contact-band__title {
	font-family: var(--vibes-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 400;
	text-align: center;
	margin: 0 0 2.5rem;
}

.vibes-contact-band__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2.5rem 4rem;
}

.vibes-contact-band__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	max-width: 28ch;
}

.vibes-contact-band__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	stroke: var(--vibes-gold);
	margin-top: 0.15rem;
}

.vibes-contact-band__item a {
	font-family: var(--vibes-font-ui);
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--vibes-text-muted);
	text-decoration: none;
	transition: color var(--vibes-transition);
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.vibes-contact-band__item a:hover {
	color: var(--vibes-gold-icon);
}
