/**
 * Loop1 Child Theme - Custom Component Styles
 *
 * This file contains all custom styling to match the reference design (demo4.hellogoodpeople.nl)
 * Scoped under body.home or .loop1-* selectors to prevent conflicts.
 *
 * Key selectors touched:
 * - .loop1-header (sticky header with scroll shadow)
 * - .loop1-hero (half layout with dark left panel)
 * - .loop1-hero__title-line1, .loop1-hero__title-line2 (typography sizing)
 * - .loop1-hero__scroll-hint (scroll indicator with bars)
 * - .loop1-search, .loop1-searchbar (overlapping search strip)
 * - .loop1-image-links (testimonials slider section)
 * - .loop1-slider (horizontal image card slider)
 * - .loop1-image-card (individual slider cards with hover effects)
 *
 * @package Loop1_Child
 */

/* ========================================
   CSS Variables - Reference Design Colors
   ======================================== */
:root {
	--loop1-orange: #F07A1E;
	--loop1-black: #0f0f10;
	--loop1-dark: #161616;
	--loop1-white: #ffffff;
}

/* ========================================
   Fixed Header - Match Reference
   ======================================== */
body.home .loop1-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	box-shadow: none;
	transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
	min-height: 90px;
}

body.home .loop1-header.is-scrolled {
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	border-bottom-color: #e5e5e5;
}

body.home .loop1-header-inner {
	max-width: 1320px;
	padding: 0 32px;
	min-height: 90px;
	margin: 0 auto;
}

body.home .loop1-header-nav a {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 13px;
	font-weight: 600;
	position: relative;
	color: #111;
}

body.home .loop1-header-nav a::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--loop1-orange);
	transition: width 0.3s ease;
}

body.home .loop1-header-nav a:hover::after {
	width: 100%;
}

body.home .loop1-header-contact {
	background: var(--loop1-orange);
	padding: 13px 26px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
}

body.home .loop1-header-contact:hover {
	background: #d96512;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(240, 122, 30, 0.3);
}

/* ========================================
   Hero Section - Reference Half Layout
   ======================================== */
body.home .loop1-hero {
	margin-top: 90px;
	min-height: 580px;
	margin-bottom: 100px;
}

body.home .loop1-hero__left {
	background: var(--loop1-dark);
	padding: 80px 72px;
}

body.home .loop1-hero__right {
	min-height: 580px;
	background-position: center center;
	background-size: cover;
}

body.home .loop1-hero__title {
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 7rem;
	line-height: 0.88;
	margin: 0 0 2.2rem 0;
	letter-spacing: -0.01em;
	font-weight: 700;
}

body.home .loop1-hero__title-line1 {
	color: var(--loop1-orange);
	font-size: 4.5rem;
	display: block;
	margin-bottom: 0.08em;
}

body.home .loop1-hero__title-line2 {
	color: var(--loop1-white);
	font-size: 7rem;
	display: block;
}

body.home .loop1-hero__text {
	color: #c2c2c2;
	font-size: 1.0625rem;
	line-height: 1.75;
	margin-bottom: 2.8rem;
	max-width: 480px;
}

body.home .loop1-hero__cta {
	background: var(--loop1-white);
	color: var(--loop1-black);
	padding: 15px 32px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

body.home .loop1-hero__cta:hover {
	background: #f7f7f7;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

/* Scroll Hint - Two Bars + Text */
body.home .loop1-hero__scroll-hint {
	position: absolute;
	bottom: 40px;
	left: 72px;
	display: flex;
	align-items: center;
	gap: 14px;
	z-index: 10;
}

body.home .loop1-hero__scroll-hint::before {
	content: '';
	display: block;
	width: 2px;
	height: 48px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7));
	animation: scrollHintPulse 2s ease-in-out infinite;
}

body.home .loop1-hero__scroll-hint::after {
	content: '';
	display: block;
	width: 2px;
	height: 32px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
	animation: scrollHintPulse 2s ease-in-out infinite 0.3s;
}

@keyframes scrollHintPulse {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 1; }
}

body.home .loop1-hero__scroll-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	color: rgba(255, 255, 255, 0.65);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* ========================================
   Search Strip - Overlapping Hero
   ======================================== */
body.home .loop1-search {
	margin-top: -60px;
	max-width: 1320px;
	z-index: 150;
	position: relative;
}

body.home .loop1-searchbar {
	background: #0d0d0e;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	display: grid;
	grid-template-columns: 2fr 1fr 1fr auto;
	gap: 14px;
}

body.home .loop1-searchbar__field,
body.home .loop1-searchbar__select {
	background: var(--loop1-white);
	border: 1px solid #ddd;
	border-radius: 10px;
	height: 60px;
	padding: 0 20px;
	font-size: 15px;
	color: #111;
}

body.home .loop1-searchbar__field::placeholder {
	color: #999;
}

body.home .loop1-searchbar__field:focus,
body.home .loop1-searchbar__select:focus {
	outline: none;
	border-color: var(--loop1-orange);
	box-shadow: 0 0 0 3px rgba(240, 122, 30, 0.1);
}

body.home .loop1-searchbar__button {
	background: var(--loop1-orange);
	color: var(--loop1-white);
	height: 60px;
	min-width: 200px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

body.home .loop1-searchbar__button:hover {
	background: #d96512;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(240, 122, 30, 0.4);
}

/* ========================================
   Image Links Slider (Onze collega's vertellen)
   ======================================== */
body.home .loop1-image-links {
	background: var(--loop1-white);
	padding: 80px 0;
}

body.home .loop1-image-links .loop1-section__heading {
	font-size: 2.5rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--loop1-black);
	margin-bottom: 48px;
	text-align: center;
	letter-spacing: 0.02em;
}

body.home .loop1-slider {
	position: relative;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 80px;
}

body.home .loop1-slider__track {
	display: flex;
	gap: 28px;
	overflow: hidden;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home .loop1-slider__slide {
	flex: 0 0 calc(33.333% - 19px);
	min-width: calc(33.333% - 19px);
}

/* Image Card Styling */
body.home .loop1-image-card {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 360 / 440;
	background: #f5f5f5;
	text-decoration: none;
	transition: transform 0.4s ease;
}

body.home .loop1-image-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

body.home .loop1-image-card__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 32px 28px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
	transition: background 0.4s ease;
}

body.home .loop1-image-card__title {
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--loop1-white);
	margin: 0 0 6px 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

body.home .loop1-image-card__text {
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Hover State */
body.home .loop1-image-card:hover {
	transform: translateY(-6px);
}

body.home .loop1-image-card:hover img {
	transform: scale(1.08);
}

body.home .loop1-image-card:hover .loop1-image-card__overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
}

/* Slider Arrows */
body.home .loop1-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	background: var(--loop1-white);
	border: 2px solid #e0e0e0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--loop1-black);
	transition: all 0.3s ease;
	z-index: 10;
	line-height: 1;
	padding: 0;
}

body.home .loop1-slider__arrow:hover:not(:disabled) {
	background: var(--loop1-orange);
	border-color: var(--loop1-orange);
	color: var(--loop1-white);
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 4px 16px rgba(240, 122, 30, 0.3);
}

body.home .loop1-slider__arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

body.home .loop1-slider__arrow--prev {
	left: 0;
}

body.home .loop1-slider__arrow--next {
	right: 0;
}

/* Slider Dots */
body.home .loop1-slider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
}

body.home .loop1-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d0d0d0;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

body.home .loop1-slider__dot.is-active {
	background: var(--loop1-orange);
	transform: scale(1.2);
}

body.home .loop1-slider__dot:hover:not(.is-active) {
	background: #a0a0a0;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 1200px) {
	body.home .loop1-slider__slide {
		flex: 0 0 calc(50% - 14px);
		min-width: calc(50% - 14px);
	}
}

@media (max-width: 900px) {
	body.home .loop1-hero {
		grid-template-columns: 1fr;
		margin-bottom: 80px;
	}

	body.home .loop1-hero__left {
		padding: 60px 40px;
	}

	body.home .loop1-hero__right {
		min-height: 400px;
	}

	body.home .loop1-hero__title {
		font-size: 4.5rem;
	}

	body.home .loop1-hero__title-line1 {
		font-size: 3rem;
	}

	body.home .loop1-hero__title-line2 {
		font-size: 4.5rem;
	}

	body.home .loop1-hero__scroll-hint {
		left: 40px;
		bottom: 28px;
	}

	body.home .loop1-search {
		margin-top: -50px;
		padding: 0 24px;
	}

	body.home .loop1-searchbar {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	body.home .loop1-slider {
		padding: 0 60px;
	}

	body.home .loop1-slider__arrow {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	body.home .loop1-slider {
		padding: 0 52px;
	}

	body.home .loop1-slider__slide {
		flex: 0 0 100%;
		min-width: 100%;
	}

	body.home .loop1-slider__arrow {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	body.home .loop1-image-links .loop1-section__heading {
		font-size: 2rem;
		margin-bottom: 36px;
	}
}

@media (max-width: 600px) {
	body.home .loop1-header-inner {
		padding: 0 20px;
		min-height: 80px;
	}

	body.home .loop1-header {
		min-height: 80px;
	}

	body.home .loop1-hero {
		margin-top: 80px;
	}

	body.home .loop1-hero__left {
		padding: 48px 28px;
	}

	body.home .loop1-hero__title {
		font-size: 3.5rem;
	}

	body.home .loop1-hero__title-line1 {
		font-size: 2.25rem;
	}

	body.home .loop1-hero__title-line2 {
		font-size: 3.5rem;
	}

	body.home .loop1-hero__scroll-hint {
		left: 28px;
		bottom: 22px;
	}

	body.home .loop1-search {
		padding: 0 16px;
		margin-top: -40px;
	}

	body.home .loop1-slider {
		padding: 0 44px;
	}

	body.home .loop1-image-card__title {
		font-size: 1.625rem;
	}
}
