@charset "utf-8";
/* ============================================================================
   T Bar C — visual fixes
   Layout / typography corrections only. No text content is changed.
   Loaded last so it overrides the legacy rules in css.css / breakpoints.css.
   ========================================================================== */

/* --- Hero / header ------------------------------------------------------- */

.hero {
	position: relative;
	display: grid;
	width: 100%;
	background: #141414;
}

/* The slide sits behind the copy and stretches to whatever height the copy needs */
.hero > .slideshow-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
}

.hero > .slideshow-container .mySlides,
.hero > .slideshow-container .mySlides img {
	display: block;
	width: 100%;
	height: 100%;
}

.hero > .slideshow-container .mySlides img {
	object-fit: cover;
	object-position: center;
}

.overlay {
	position: relative;
	inset: auto;
	z-index: 7;
	width: auto;
	height: auto;
	min-height: clamp(340px, 44vw, 620px);
	margin: 0;
	padding: 5vw 8vw;
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.74) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1vw, 16px);
	color: #fff;
	font-family: 'Roboto Condensed', sans-serif;
	text-align: center;
}

.overlay img {
	width: auto;
	height: auto;
	max-width: 100%;
}

.overlay .hero-logo {
	width: clamp(180px, 23vw, 330px);
}

/* The logo artwork already spells out "Your Program... Our Passion!", so the
   separate tagline PNG is hidden — otherwise the two copies overlap each other.
   Remove `display: none` if the standalone tagline should come back. */
.overlay .hero-tagline {
	display: none;
	width: clamp(150px, 17vw, 260px);
	margin-top: 14px;
}

.overlay a {
	display: inline-block;
}

.overlay h1 {
	text-transform: uppercase;
	font-family: 'Noto Sans', sans-serif;
	font-size: clamp(15px, 1.75vw, 27px);
	line-height: 1.35;
	letter-spacing: 0.04em;
	max-width: 62ch;
	margin: 0;
}

.overlay h1 a {
	color: #fff;
	text-decoration: none;
}

.overlay h3 {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(13px, 1.05vw, 18px);
	font-weight: 400;
	line-height: 1.6;
	max-width: 76ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}

.overlay em {
	display: block;
	width: auto;
	font-size: clamp(12px, 1vw, 16px);
}

/* --- Floating top links -------------------------------------------------- */

.mailinglist {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: auto;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	z-index: 50;
	background: none;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Added by the scroll handler below so the links never sit on top of the copy */
.mailinglist.nav-hidden {
	transform: translateY(-130%);
	opacity: 0;
	pointer-events: none;
}

.mailinglist a {
	margin: 14px 0;
	padding: 9px 16px;
	color: #fff;
	font-size: clamp(12px, 0.95vw, 15px);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	background-color: rgba(18, 18, 18, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 3px;
	transition: background-color 0.2s ease;
}

.mailinglist a:last-child {
	margin-right: 18px;
}

.mailinglist a:hover {
	background-color: #851618;
}

/* --- Content cards ------------------------------------------------------- */

/* loose line breaks used as spacers inside the cards add dead space at the
   bottom of every section — the CSS spacing below replaces them */
.wrapper .padding > br {
	display: none;
}

.wrapper {
	width: min(1150px, 92%);
	margin: 0 auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.wrapper h1 {
	font-family: Elephant, Georgia, 'Times New Roman', serif;
	font-size: clamp(28px, 3.6vw, 46px);
	letter-spacing: 0.02em;
	color: #2f2f2f;
	margin: 0 auto 6px;
	padding-bottom: 10px;
}

/* The contact heading also carries the .team class, which would turn it into a flex row */
.wrapper h1.team {
	display: block;
	width: auto;
	gap: 0;
	text-align: center;
}

/* --- Services ------------------------------------------------------------ */

.services,
.team {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 1.5vw;
}

.team {
	align-items: flex-start;
}

.list {
	width: auto;
	flex: 1 1 0;
	padding: 0 1.2vw 1vw;
	color: #2b2b2b;
	font-size: clamp(14px, 1.05vw, 17px);
	line-height: 1.7;
}

.list h3 {
	width: auto;
	margin: 0 0 16px;
	font-size: clamp(16px, 1.3vw, 21px);
	letter-spacing: 0.04em;
	line-height: 1.3;
}

/* the icon is followed by two hard line breaks in the markup — drop them so the
   title sits directly under the icon instead of floating a third of a screen below */
.list h3 br {
	display: none;
}

.list img {
	display: block;
	width: auto;
	height: auto;
	max-width: 130px;
	max-height: 110px;
	margin: 0 auto 10px;
	padding: 0;
	object-fit: contain;
}

/* --- Team ---------------------------------------------------------------- */

.member {
	width: auto;
	flex: 1 1 0;
	display: block;
	text-align: center;
	padding: 0 1vw;
	color: #333;
	font-size: clamp(13px, 1vw, 16px);
	line-height: 1.5;
}

.member img {
	display: block;
	width: 100%;
	max-width: 230px;
	height: 210px;
	margin: 0 auto 10px;
	object-fit: cover;
	object-position: center 15%;
	border-radius: 4px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
}

.member h3 {
	margin: 0 0 4px;
	font-size: clamp(16px, 1.2vw, 20px);
	color: #222;
}

.member a {
	color: #820d0f;
	font-weight: bold;
	text-decoration: none;
}

.member a:hover {
	text-decoration: underline;
}

.line {
	width: 1px;
	height: 140px;
	background-color: #851618;
	opacity: 0.45;
	align-self: center;
	flex: 0 0 1px;
}

/* --- Photo strip with the CTA buttons ------------------------------------ */

.conveyer {
	position: relative;
	margin: 2.5vw 0 3vw;
	height: clamp(200px, 24vw, 340px);
	overflow: hidden;
	background: #0e0e0e;
	display: flex;
	align-items: center;
	justify-content: center;
}

.conveyer::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.conveyer img {
	opacity: 1;
}

.slideshowmargin {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	margin: 0;
	transform: translateY(-50%);
	z-index: 0;
}

.buttons {
	position: relative;
	z-index: 2;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.buttons button {
	border: none;
	background-color: rgba(133, 22, 24, 0.92);
	color: #fff;
	padding: 12px 26px;
	font-size: clamp(13px, 1vw, 17px);
	font-family: 'Roboto Condensed', sans-serif;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.buttons button:hover {
	background-color: #a81d20;
	transform: translateY(-1px);
}

/* --- Group of companies -------------------------------------------------- */

.flat {
	width: min(1150px, 92%);
	margin: 4vw auto 0;
	color: #b8b8b8;
}

.flat .company-heading {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(20px, 2.5vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	margin: 0 0 2vw;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.companies {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 18px;
}

.company {
	width: auto;
	flex: 1 1 200px;
	max-width: 250px;
	margin: 0;
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background-color: #ececec;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	color: #8a1417;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 15px;
	line-height: 1.45;
}

.company a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 92px;
}

.company img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 92px;
	object-fit: contain;
}

.company > div {
	margin-top: auto;
}

/* the card copy is padded with empty <br> tags to fake vertical centring —
   ignoring them lets every description line sit on the same baseline */
.company > div br {
	display: none;
}

/* --- Footer -------------------------------------------------------------- */

footer {
	height: auto;
	min-height: 260px;
	margin-top: 4vw;
	padding: 4vw 6vw 3vw;
	box-sizing: border-box;
	font-size: clamp(14px, 1.05vw, 17px);
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../Images/evening2.jpg);
	background-attachment: scroll;
	background-position: center;
	background-size: cover;
}

footer h3 {
	margin: 0 0 14px;
	font-size: clamp(17px, 1.4vw, 21px);
	letter-spacing: 0.03em;
}

.row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	text-align: left;
}

.row .icon {
	width: 20px;
	flex: 0 0 20px;
	text-align: center;
}

/* --- Gallery / past ads pages -------------------------------------------- */

.gallerys {
	gap: 12px;
}

.gallery {
	width: 31%;
	padding-bottom: 26px;
}

.gallery img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	padding: 0;
	border-radius: 3px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.ads {
	gap: 12px;
}

.ad {
	width: 22%;
	flex: 1 1 180px;
	max-width: 260px;
	align-items: center;
	justify-content: flex-start;
}

.ad a {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ad img {
	width: 100%;
	height: auto;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.ad h3 {
	font-size: 16px;
	margin: 10px 0 4px;
}

.submit-button {
	font-size: clamp(13px, 1vw, 16px);
}

/* --- Responsive ---------------------------------------------------------- */

@media only screen and (max-width: 1200px) {
	.wrapper {
		width: 96%;
	}

	.overlay em {
		display: none;
	}
}

@media only screen and (max-width: 900px) {
	.services,
	.team {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.list,
	.member {
		width: 80%;
		max-width: 520px;
		padding: 0 0 26px;
	}

	.member img {
		height: 260px;
	}

	.line {
		width: 64%;
		height: 2px;
		opacity: 0.35;
		margin: 6px 0;
		align-self: center;
	}

	.flat {
		width: 94%;
	}

	.company {
		flex: 1 1 44%;
		max-width: none;
	}

	.gallery {
		width: 46%;
	}

	.ad {
		width: 44%;
		flex: 1 1 40%;
		max-width: none;
	}
}

@media only screen and (max-width: 600px) {
	.hero > .overlay {
		min-height: 0;
		padding: 58px 22px 34px;
		gap: 6px;
	}

	.overlay .hero-logo {
		width: 150px;
	}

	.overlay .hero-tagline {
		width: 132px;
	}

	.overlay h1 {
		font-size: 15px;
		letter-spacing: 0.02em;
	}

	.overlay h3 {
		font-size: 13px;
	}

	.mailinglist {
		justify-content: center;
		gap: 6px;
	}

	.mailinglist a {
		margin: 10px 3px;
		padding: 8px 10px;
		font-size: 11px;
	}

	.mailinglist a:last-child {
		margin-right: 3px;
	}

	.wrapper {
		width: 100%;
		box-shadow: none;
	}

	.wrapper .padding {
		padding: 18px;
	}

	.list,
	.member {
		width: 100%;
		max-width: none;
	}

	.member img {
		height: 300px;
	}

	.line {
		width: 76%;
	}

	.company {
		flex: 1 1 100%;
		max-width: 340px;
	}

	.gallery,
	.ad {
		width: 100%;
		max-width: 380px;
		flex: 1 1 100%;
	}

	.conveyer {
		height: 240px;
		margin: 20px 0 26px;
	}

	.buttons button {
		font-size: 13px;
		padding: 11px 16px;
	}

	footer {
		min-height: 220px;
		padding: 34px 24px;
	}
}
