/* Site additions on top of the Framex template (custom.css). Keep in the template's style. */

/* Backgrounds: client photos instead of the template's window/door photos */
.page-header{ background-image: url('../img/site/page-header-garage-doors.webp'); }
.cta-box-metal{ background-image: url('../img/site/cta-commercial-garage-doors.webp'); }
.cta-box::before,
.cta-box::after{ display: none; }

/* Brand names in the "brands we service" slider (text instead of fake logos) */
.company-supports-logo-metal .brand-name{
	display: block;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: -0.02em;
	color: var(--primary-color);
	opacity: 0.55;
	white-space: nowrap;
}

/* Testimonial header stars (metal version uses a logo slot) */
.testimonial-item-logo-metal .testimonial-stars i{
	color: var(--accent-color);
	font-size: 18px;
	margin-right: 2px;
}

/* Header phone button: keep the template button, show the icon */
.header-btn .btn-default i{ margin-right: 8px; }

/* Price list (service pages, pricing page) */
.service-price-box{ margin-bottom: 60px; }
.service-price-box h2{ font-size: 46px; margin-bottom: 20px; }
.service-price-box > p{ margin-bottom: 30px; }
.price-list{
	background: var(--white-color);
	border-radius: 20px;
	padding: 10px 30px;
}
.price-list-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--divider-color);
}
.price-list-item:last-child{ border-bottom: none; }
.price-list-item h3{
	font-size: 18px;
	font-weight: 500;
	margin: 0;
}
.price-list-item span{
	font-size: 18px;
	font-weight: 700;
	color: var(--primary-color);
	white-space: nowrap;
}
.price-list-note{
	margin-top: 20px;
	font-size: 15px;
}
.price-list-note a{ color: var(--primary-color); font-weight: 600; text-decoration: underline; }

/* Extra text block inside service/project entries */
.service-local-box{ margin-bottom: 60px; }
.service-local-box h2{ font-size: 46px; margin-bottom: 20px; }

/* Photo grid inside service/project entries (uses .photo-gallery styling) */
.entry-gallery{ margin: 40px 0 30px; }
.service-window-box, .project-overview-box{ margin-bottom: 60px; }
.entry-gallery .photo-gallery img{ aspect-ratio: 1 / 0.87; }

/* Video gallery block shown on every page */
.video-section{ padding: 120px 0 90px; }
.video-section.light-section{ background-color: var(--bg-color); }
.video-gallery-image figure{ display: block; border-radius: 20px; overflow: hidden; }

/* Service area block */
.service-area{ padding: 120px 0; }
.service-area-list ul{
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 30px;
}
.service-area-list ul li{
	position: relative;
	width: calc(50% - 15px);
	padding-left: 28px;
	font-weight: 500;
	color: var(--primary-color);
}
.service-area-list ul li::before{
	content: '\f3c5';
	font-family: 'Font Awesome 7 Free';
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 0;
	color: var(--accent-color);
}
.service-area-list ul li a{ color: inherit; }
.service-area-nap{
	background: var(--white-color);
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 30px;
}
.service-area-nap p{ margin-bottom: 8px; }
.service-area-nap p:last-child{ margin-bottom: 0; }
.service-area-nap strong{ color: var(--primary-color); }
.service-area-nap a{ color: var(--primary-color); font-weight: 600; }
.service-area-nap i{ color: var(--accent-color); width: 18px; }
.service-area .google-map-iframe iframe{ height: 520px; }

/* Text pages (privacy) */
.page-text{ padding: 120px 0; }
.page-text h2{ font-size: 32px; margin: 40px 0 15px; }
.page-text p, .page-text li{ margin-bottom: 12px; }

/* Footer working hours list (replaces template newsletter column) */
.footer-hours-list ul{ list-style: none; padding: 0; margin: 0; }
.footer-hours-list ul li{ color: var(--white-color); margin-bottom: 12px; opacity: 0.8; }
.footer-hours-list ul li span{ display: block; font-weight: 600; opacity: 1; }
.footer-copyright-text a{ color: inherit; text-decoration: underline; }
.footer-address{ margin-top: 20px; color: var(--white-color); opacity: 0.8; }
.footer-address a{ color: inherit; }

@media only screen and (max-width: 991px){
	.service-price-box h2, .service-local-box h2{ font-size: 34px; }
	.video-section, .service-area{ padding: 60px 0 30px; }
	.page-text{ padding: 60px 0; }
	.service-area .google-map-iframe iframe{ height: 380px; }
}
@media only screen and (max-width: 767px){
	.service-price-box h2, .service-local-box h2{ font-size: 28px; }
	.price-list{ padding: 5px 20px; }
	.price-list-item{ flex-direction: column; align-items: flex-start; gap: 4px; }
	.price-list-item h3, .price-list-item span{ font-size: 16px; }
	.service-area-list ul li{ width: 100%; }
}

/* width/height attributes are set on every <img> for CLS; let the template CSS keep control of the box */
img{ height: auto; }
.feature-item-content-metal h3 a{ color: inherit; }
.footer-copyright-text-metal a{ color: inherit; text-decoration: underline; }
.service-entry p a, .project-entry p a, .project-category-item a, .page-text a, .service-area-list p a{
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--accent-color);
	text-underline-offset: 3px;
}
a[href^="mailto:"]{ overflow-wrap: anywhere; word-break: break-word; }

/* Inner pages: the topbar sits inside the absolute header, so push the page title down by its height */
.page-header{ padding-top: 310px; }
@media only screen and (max-width: 991px){
	.page-header{ padding-top: 225px; }
}
