/* TopRoof overrides on top of the Awning template (custom.css). */

/* Bulgarian copy reads better without forced capitalisation */
.section-title h3,
.btn-default,
.main-menu ul li a {
	text-transform: none;
}

.navbar-brand img {
	width: 190px;
	height: auto;
}

/* Menu: long city submenu in two columns */
@media only screen and (min-width: 992px) {
	.main-menu ul li.submenu ul.submenu-cities {
		width: 420px;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.main-menu ul li a {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

/* Service cards: excerpt over the image */
.service-image figure::before {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
}

.service-content p {
	color: var(--secondary-color);
	font-size: 14px;
	line-height: 1.5em;
	margin: 10px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-services {
	padding-bottom: 70px;
}

/* Stats strip */
.tr-stats {
	background-color: var(--primary-color);
	padding: 70px 0 40px;
}

.tr-stat {
	text-align: center;
	margin-bottom: 30px;
}

.tr-stat h2 {
	font-size: 52px;
	color: var(--accent-color);
	margin-bottom: 8px;
}

.tr-stat p {
	color: var(--secondary-color);
	margin: 0;
}

/* Home FAQ block */
.home-faqs .section-title {
	margin-bottom: 30px;
}

.home-faqs .section-title p a,
.contact-form-content .section-title p a {
	color: var(--accent-color);
	font-weight: 600;
}

/* Lead form */
.lead-form .form-select {
	color: var(--text-color);
}

.lead-form-note {
	font-size: 14px;
	margin: 15px 0 0;
}

#msgSubmit.hidden {
	display: none;
}

#msgSubmit {
	margin-top: 15px;
	font-size: 18px;
}

/* Single service / city */
.service-featured-image {
	margin-bottom: 40px;
}

.service-featured-image img {
	width: 100%;
	aspect-ratio: 1 / 0.6;
	object-fit: cover;
}

.service-cities {
	margin-top: 50px;
}

.service-cities h3 {
	font-size: 20px;
	margin-bottom: 20px;
}

.service-cities ul,
.city-service-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.service-cities ul li a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--divider-color);
	color: var(--primary-color);
	transition: all 0.3s ease-in-out;
}

.service-cities ul li a:hover {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}

.city-service-list {
	display: block;
	margin-bottom: 30px;
}

.city-service-list li {
	padding: 10px 0;
	border-bottom: 1px solid var(--divider-color);
}

.city-service-list li a {
	color: var(--primary-color);
	font-weight: 600;
}

.city-service-list li a:hover {
	color: var(--accent-color);
}

/* Cities index */
.page-cities {
	padding: 100px 0 70px;
}

.city-card {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	margin-bottom: 30px;
	border: 1px solid var(--divider-color);
	transition: all 0.3s ease-in-out;
}

.city-card img {
	width: 28px;
}

.city-card strong {
	display: block;
	color: var(--primary-color);
	font-family: var(--accent-font);
	font-size: 18px;
}

.city-card small {
	color: var(--text-color);
}

.city-card:hover {
	border-color: var(--accent-color);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Pricing */
.pricing-title h2 small {
	font-size: 18px;
	font-weight: 500;
}

.price-table {
	margin-top: 50px;
}

.price-table h2 {
	font-size: 32px;
	margin-bottom: 25px;
}

.price-table .table th {
	background-color: var(--primary-color);
	color: var(--white-color);
	font-weight: 600;
	padding: 15px 20px;
}

.price-table .table td {
	padding: 15px 20px;
	color: var(--text-color);
}

.price-table .table td:last-child {
	color: var(--accent-color);
	font-weight: 600;
	white-space: nowrap;
}

.price-note {
	font-size: 14px;
	margin-top: 10px;
}

/* Blog */
.page-blog {
	padding: 100px 0;
}

.post-date {
	color: var(--accent-color);
	font-weight: 600;
	margin-bottom: 20px;
}

.post-cta {
	margin-top: 50px;
	padding: 40px;
	background-color: var(--primary-color);
}

.post-cta h3 {
	color: var(--white-color);
	font-size: 26px;
	margin-bottom: 10px;
}

.post-cta p {
	color: var(--secondary-color);
}

.post-cta p a {
	color: var(--accent-color);
}

/* Footer */
.footer-nav-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-nav-links ul li {
	margin-bottom: 10px;
}

.footer-nav-links ul li a {
	color: var(--secondary-color);
	transition: color 0.3s ease-in-out;
}

.footer-nav-links ul li a:hover,
.footer-contact-content p a:hover {
	color: var(--accent-color);
}

.footer-contact-content p a {
	color: inherit;
}

.footer-hours {
	color: var(--secondary-color);
	font-size: 14px;
}

.footer-cities {
	columns: 2;
}

.main-footer .footer-links {
	margin-bottom: 40px;
}

.header-contact-box-content p a,
.contact-info-content h3 a,
.sidebar-cta-footer ul li a {
	color: inherit;
}

/* Floating call button (mobile) */
.floating-call-btn {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--accent-color);
	color: var(--white-color);
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	box-shadow: 0 8px 25px rgba(255, 102, 0, 0.45);
}

@media only screen and (max-width: 991px) {
	.floating-call-btn {
		display: flex;
	}

	.main-menu ul li.submenu ul.submenu-cities {
		width: auto;
	}
}

@media only screen and (max-width: 767px) {
	.tr-stat h2 {
		font-size: 36px;
	}
}

.main-footer .col-lg-3:last-child .footer-links {
	margin-right: 0;
	padding-right: 0;
}

.main-footer .col-lg-3:last-child .footer-links::before {
	display: none;
}

.footer-nav-links .footer-social-links h3 {
	margin-bottom: 20px;
}

@media only screen and (max-width: 991px) {
	.page-service-single .service-sidebar,
	.page-faqs .service-sidebar {
		margin-top: 50px;
	}
}

/* Home hero photo */
.hero {
	background-image: url('../images/hero-toproof.jpg');
}

.hero::before {
	background: linear-gradient(270deg, rgba(30, 30, 30, 0.15) 0%, rgba(30, 30, 30, 0.75) 55%, rgba(30, 30, 30, 0.92) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0) 87.63%, rgba(30, 30, 30, 0.6) 100.45%);
}

/* Testimonials show names only, no avatars */
.testimonial-body .author-content {
	width: 100%;
}

/* Inner page header photo */
.page-header {
	background-image: url('../images/page-header-toproof.jpg');
}
