/* M Turner Services – site styles (layered over Bootstrap 5.3) */

/* ---------- Font ---------- */
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/roboto-slab-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */
:root {
    --site-text: #4a4a4a;
    --site-heading: #333333;
    --site-accent: #911d1d;
    --site-title: #910e0e;
    --site-footer-bottom: #701717;
    --site-light-bg: #f5f5f5;

    --bs-body-font-family: 'Roboto Slab', Georgia, serif;
    --bs-body-font-size: 15px;
    --bs-body-line-height: 1.8;
    --bs-body-color: var(--site-text);
    --bs-link-color-rgb: 51, 51, 51;
    --bs-link-hover-color-rgb: 145, 29, 29;
}

body {
    font-family: var(--bs-body-font-family);
    font-size: 15px;
    line-height: 1.8;
    color: var(--site-text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--site-heading);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 20px;
}
h1 { font-size: 23px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }

p { margin: 0 0 20px; }
strong, b { font-weight: 600; }

a {
    color: #333;
    text-decoration: none;
    transition: color .3s ease;
}
a:hover, a:focus { color: var(--site-accent); }

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

.icon { display: inline-block; vertical-align: -0.125em; }

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1100;
    padding: 8px 16px;
    background: #fff;
}

/* ---------- Layout containers ---------- */
.site-container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

.content-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Rows of content: each column has 10px padding; nested rows add another 10px inset. */
.content-row > * { padding: 10px; }
.content-row.nested { padding: 10px; }

.gap-before { margin-top: 67px; }
.content-list + .gap-before { margin-top: 62px; }
.content-list.list-offset { margin-top: 15px; }
.page-intro-heading { font-size: 23px; }
.heading-tight { line-height: 1; margin-bottom: 0; }
.text-center-img { text-align: center; }
.text-end-img { text-align: right; }

.page-content { padding-bottom: 0; }

.content-list {
    margin: 0 0 15px 20px;
    padding: 0;
}

/* ---------- Header & navigation ---------- */
.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 125px;
}

.site-logo { display: block; line-height: 0; }

.site-header .main-nav .nav-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #555;
    padding: 0 15px;
    line-height: 125px;
}
.site-header .main-nav .nav-link:hover,
.site-header .main-nav .nav-link:focus { color: var(--site-accent); }
.site-header .main-nav .nav-link.active { color: #555; }

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    background: none;
    padding: 10px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #555;
}
.menu-toggle .icon { font-size: 15px; }
.menu-toggle .menu-toggle-close,
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: inline; }

@media (min-width: 992px) {
    .site-header .navbar-collapse { justify-content: flex-end; }
    .site-header .main-nav .nav-item:last-child .nav-link { padding-right: 0; }
}

@media (max-width: 991.98px) {
    .site-header-inner { position: static; }
    .site-header .navbar { position: static; }
    .menu-toggle { display: inline-flex; }

    .site-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
        max-height: 400px;
        overflow-y: auto;
    }
    .main-nav .nav-item { border-bottom: 1px solid rgba(0, 0, 0, .035); }
    .site-header .main-nav .nav-link {
        font-size: 15px;
        line-height: 27px;
        text-transform: none;
        letter-spacing: 0;
        color: #333;
        padding: 12px 40px;
    }
    .site-header .main-nav .nav-link.active { color: #333; }
}

/* ---------- Page title bar ---------- */
.page-title-bar {
    background: var(--site-light-bg);
    padding: 34px 0;
}
.page-title-bar-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.page-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--site-title);
    margin: 0;
}
.breadcrumbs { margin-top: 6px; }
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}
.breadcrumbs li + li::before {
    content: '>';
    margin: 0 6px;
    color: #6f6f6f;
}
.breadcrumbs a { color: #333; }

@media (max-width: 767.98px) {
    .page-title-bar-inner { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
    .breadcrumbs { margin-top: 0; }
}

/* ---------- Home ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: #8d8d8d url(../images/hero.jpg) center top / cover no-repeat;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
}
.hero .content-container { position: relative; width: 100%; }
.hero-title {
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 20px;
}
.hero-lead {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 31px;
}

@media (min-width: 768px) {
    .hero { min-height: 100vh; padding: 0; }
    .hero-title { font-size: 45px; }
}
@media (min-width: 1025px) {
    .hero-title { font-size: 58px; }
}

.home-features {
    padding: 60px 0 30px;
    background: #c9c9c9 url(../images/steel.jpg) center / cover no-repeat;
    text-align: center;
}
.home-divider {
    width: 5%;
    min-width: 40px;
    margin: 16px auto 16px;
    border: 0;
    border-top: 1px solid #222;
    opacity: 1;
}
.home-features h2 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1;
    color: #292929;
}
.home-features p { margin-bottom: 0; }
.home-features .feature { padding-bottom: 100px; }

@media (min-width: 1025px) {
    .home-features .feature { padding-bottom: 80px; }
}

/* ---------- Contact ---------- */
.contact-map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}
.contact-details { padding-top: 80px; padding-bottom: 31px; }

.icon-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}
.icon-box-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 83px;
    height: 83px;
    border-radius: 50%;
    background: #f8f8f8;
    color: #c30000;
    font-size: 32px;
    transition: background-color .3s, color .3s;
}
.icon-box:hover .icon-box-icon,
.icon-box:focus-within .icon-box-icon {
    background: #84c340;
    color: #fff;
}
.icon-box-body { flex: 1 1 auto; min-width: 0; }
.icon-box-title {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #292929;
    margin: 0 0 6px;
}
.icon-box-text {
    font-size: 14px;
    color: #999;
    margin: 0;
}
.icon-box-text a { color: inherit; }
.icon-box-text a:hover { color: var(--site-accent); }

/* ---------- Footer ---------- */
.footer-widgets {
    background: var(--site-light-bg);
    color: #777;
    padding: 30px 0;
}
.footer-col { padding: 0 15px 30px; }
.footer-widgets small { font-size: 12px; }

@media (min-width: 992px) {
    .footer-col { padding-bottom: 0; }
}

.footer-bottom {
    background: var(--site-footer-bottom);
    color: #fff;
    padding: 15px 0;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    text-align: center;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, background-color .3s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover, .scroll-top:focus { background: rgba(0, 0, 0, .8); }
