/*
Theme Name: Fixtech Child Theme
Description: Child theme for the Fixtech theme
Author: ThemetechMount
Author URI: https://www.themetechmount.com/
Template: fixtech
Version: 0.1
Tags: light, white, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, responsive, retina
*/


/* NOTE: Main theme's style.css file is already added in head tag. */


/* =========================================================
   RAM-SERWIS - ZMIANY OGÓLNE
   ========================================================= */

.tm-titlebar .entry-title {
	font-family: "Oswald", Arial, Helvetica, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 48px;
	line-height: 50px;
	color: #20292f;
}


/* =========================================================
   RAM-SERWIS - STRONA 404
   ========================================================= */

.ram-404-page {
	width: 100%;
}

.ram-404 {
	max-width: 1180px;
	margin: 0 auto;
	padding: 60px 25px 70px;
	text-align: center;
}


/* ===== GÓRNA CZĘŚĆ ===== */

.ram-404-top {
	max-width: 800px;
	margin: 0 auto 50px;
}

.ram-404-code {
	margin: 0 0 5px;
	color: #d92318;
	font-family: "Oswald", Arial, Helvetica, sans-serif;
	font-size: 110px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -3px;
}

.ram-404 h1 {
	margin: 0 0 20px;
	color: #111;
	font-family: "Oswald", Arial, Helvetica, sans-serif;
	font-size: 42px;
	font-weight: 600;
	line-height: 1.2;
}

.ram-404-lead {
	max-width: 780px;
	margin: 0 auto 12px;
	color: #333;
	font-size: 19px;
	line-height: 1.7;
}

.ram-404-help {
	margin: 0;
	color: #777;
	font-size: 16px;
	line-height: 1.6;
}


/* ===== USŁUGI ===== */

.ram-404-services {
	margin-top: 25px;
}

.ram-404-services h2 {
	margin: 0 0 28px;
	color: #303030;
	font-family: "Oswald", Arial, Helvetica, sans-serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.3;
}

.ram-404-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.ram-404-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 155px;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	text-align: center;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.ram-404-card:hover {
	transform: translateY(-3px);
	border-color: #d92318;
	box-shadow: 0 9px 26px rgba(0, 0, 0, 0.10);
	text-decoration: none;
}

.ram-404-card-title {
	display: block;
	margin-bottom: 8px;
	color: #222;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.ram-404-card:hover .ram-404-card-title {
	color: #d92318;
}

.ram-404-card-text {
	display: block;
	max-width: 320px;
	color: #666;
	font-size: 15px;
	line-height: 1.55;
}


/* ===== WYSZUKIWARKA ===== */

.ram-404-search {
	max-width: 760px;
	margin: 45px auto 0;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.ram-404-search h2 {
	margin: 0 0 16px;
	color: #303030;
	font-family: "Oswald", Arial, Helvetica, sans-serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.3;
}

.ram-404-search p {
	margin: 0 0 18px;
	color: #444;
	font-size: 16px;
	line-height: 1.6;
}

.ram-404-search-box {
	max-width: 600px;
	margin: 0 auto;
}


/* Formularz wyszukiwarki Fixtech */

.ram-404-search-box .search-form {
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	margin: 0;
}

.ram-404-search-box .search-form label {
	flex: 1;
	margin: 0;
}

.ram-404-search-box input[type="search"] {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid #ddd;
	background: #fff;
	font-size: 16px;
}

.ram-404-search-box input[type="submit"],
.ram-404-search-box button {
	height: 54px;
	margin: 0 0 0 10px;
	padding: 0 27px;
	border: 0;
	border-radius: 2px;
	background: #303030;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ram-404-search-box input[type="submit"]:hover,
.ram-404-search-box button:hover {
	background: #d92318;
}


/* ===== DOLNE PRZYCISKI ===== */

.ram-404-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.ram-404-links a {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 3px;
	background: #f2f2f2;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.ram-404-links a:hover {
	background: #e5e5e5;
	color: #d92318;
	text-decoration: none;
}

.ram-404-links .ram-404-contact {
	background: #d92318;
	color: #fff;
}

.ram-404-links .ram-404-contact:hover {
	background: #b91d14;
	color: #fff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

	.ram-404 {
		padding: 50px 22px 60px;
	}

	.ram-404-top {
		margin-bottom: 42px;
	}

	.ram-404-code {
		font-size: 90px;
	}

	.ram-404 h1 {
		font-size: 36px;
	}

	.ram-404-lead {
		font-size: 18px;
	}

	.ram-404-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ram-404-card {
		min-height: 145px;
	}

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 600px) {

	.ram-404 {
		padding: 35px 16px 50px;
	}

	.ram-404-top {
		margin-bottom: 35px;
	}

	.ram-404-code {
		font-size: 72px;
		letter-spacing: -2px;
	}

	.ram-404 h1 {
		font-size: 29px;
	}

	.ram-404-lead {
		font-size: 17px;
		line-height: 1.6;
	}

	.ram-404-help {
		font-size: 15px;
	}

	.ram-404-services h2,
	.ram-404-search h2 {
		font-size: 25px;
	}

	.ram-404-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ram-404-card {
		min-height: auto;
		padding: 21px 18px;
	}

	.ram-404-card-title {
		font-size: 21px;
	}

	.ram-404-search {
		margin-top: 35px;
		padding-top: 28px;
	}

	.ram-404-search-box .search-form {
		display: block;
	}

	.ram-404-search-box .search-form label {
		display: block;
		width: 100%;
	}

	.ram-404-search-box input[type="search"] {
		width: 100%;
	}

	.ram-404-search-box input[type="submit"],
	.ram-404-search-box button {
		display: block;
		width: 100%;
		margin: 10px 0 0;
	}

	.ram-404-links {
		flex-direction: column;
		margin-top: 24px;
	}

	.ram-404-links a {
		display: block;
		width: 100%;
	}

}