/* Fonts: public/assets/css/fonts-local.css (linked from site header) */

.home_service_tile
{
    /* create space around service tiles */
    padding: 7px;
    position: relative;
}

.home_service_tile_buttons
{
    position: absolute; 
    margin-bottom: 7px; 
    bottom: 7px; 
    margin-left: 25px
}
.home_service_tile_buttons2
{
    position: absolute; 
    margin-bottom: 7px; 
    bottom: 7px; 
    margin-left: 15px
}

/* General Reset */
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333; /* Dark gray for readability */
    background-color: #fff; /* Clean white background */
    margin: 0;
    padding: 0;
}

/* Title Styling (Main Titles, Logo, or Hero Text) */
.title {
    font-family: 'Inter', sans-serif;
    font-weight: 900; /* Extra bold */
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 20px;
    color: #222; /* Strong dark gray for contrast */
}

/* H1 Subtitles */
h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #444; /* Softer black */
    margin-bottom: 15px;
}

/* H2 Subheadings */
h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #555; /* Medium dark gray */
    margin-top: 30px;
    margin-bottom: 15px;
    /*border-bottom: 2px solid #ddd; /* Adds a subtle underline effect */
    padding-bottom: 5px;
}

/* H3 Subheadings */
h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 26px;
    color: #666; /* Lighter gray for differentiation */
    margin-top: 25px;
    margin-bottom: 10px;
}

/* H5 Subheadings */
h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #666; /* Lighter gray for differentiation */
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Body Text (Article Paragraphs) */
p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

/* H2 & H3 (Subheadings) */
h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #555;
    margin-top: 30px;
    margin-bottom: 10px;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #666;
}

/* Links */
a {
    color: #0073e6; /* Professional blue */
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Button Styling */
.button {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    background-color: #0073e6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #005bb5;
}

/* Public header: logo far left; nav centered; hamburger when they would collide */
.main-nav > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: 100% !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}

.main-nav .navbar-brand,
.navbar-brand {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 12px 0 0 !important;
    padding: 6px 0;
    order: 1;
    z-index: 6;
    overflow: visible;
    flex: 0 0 auto;
}

.main-nav .navbar-toggler {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    order: 3;
    margin: 8px 0 8px auto;
    z-index: 101;
}

.main-nav .navbar-collapse {
    order: 2;
    flex: 1 1 auto;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    position: relative !important;
    top: auto !important;
}

.main-nav .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.main-nav #name_and_logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
}

.main-nav #name_and_logo #company_logo {
    display: block;
    max-width: 56px;
    height: auto;
    margin-top: 0;
}

.main-nav #name_and_logo .heading-title-md {
    font-size: 16px;
    line-height: 1.15;
    margin: 0;
    font-weight: bold;
    text-shadow: 2px 0 #888888;
    color: #ffffff;
    white-space: nowrap;
    text-align: left;
}

/* Expanded nav: center links; cart stays on the far right */
@media (min-width: 1200px) {
    .main-nav > .container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) max-content;
        align-items: center;
    }

    .main-nav .navbar-brand {
        grid-column: 1;
        grid-row: 1;
        z-index: 6;
    }

    .main-nav .navbar-collapse {
        grid-column: 2;
        grid-row: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 !important;
    }

    .main-nav .navbar-nav {
        justify-content: center;
    }

    .main-nav .nav-item a.nav-link {
        margin: 0 8px !important;
        white-space: nowrap;
    }

    .main-nav .nav-cart {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end;
        z-index: 7;
    }

    .main-nav #name_and_logo #company_logo {
        max-width: 64px;
    }

    .main-nav #name_and_logo .heading-title-md {
        font-size: 20px;
    }
}

/* Wide screens: keep the 3-column layout so Cart stays on the right */
@media (min-width: 1600px) {
    .main-nav #name_and_logo .heading-title-md {
        font-size: 20px;
    }
}

/* Collapsed: logo left, hamburger right, links in the menu */
@media (max-width: 1199px) {
    .main-nav > .container {
        flex-wrap: wrap;
        padding-left: 8px;
        padding-right: 8px;
    }

    .main-nav .navbar-brand {
        margin-right: auto !important;
        flex: 1 1 auto;
        max-width: calc(100% - 140px) !important;
    }

    .main-nav .nav-cart {
        order: 2;
        margin-left: auto;
        margin-right: 8px;
        z-index: 102;
    }

    .main-nav .navbar-toggler {
        order: 3;
        margin-left: 0;
        margin-right: 0;
    }

    .main-nav .navbar-collapse {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        order: 4;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    }

    .main-nav .navbar-nav {
        margin-left: 0 !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
        padding: 8px 12px 16px;
    }

    .main-nav .nav-item a.nav-link {
        padding: 10px 4px !important;
        margin: 0 !important;
    }

    .main-nav #name_and_logo .heading-title-md {
        font-size: 14px;
        white-space: normal;
        max-width: 55vw;
    }
}

.ecom-gallery-stage {
    position: relative;
    background: #f5f5f5;
    text-align: center;
}
.ecom-gallery-stage img {
    max-height: 480px;
    width: auto;
    margin: 0 auto;
}
.ecom-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(32, 33, 37, 0.7);
    color: #fff;
    border: 0;
    width: 36px;
    height: 48px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.ecom-gallery-prev { left: 8px; }
.ecom-gallery-next { right: 8px; }
.ecom-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.ecom-gallery-thumb {
    border: 2px solid transparent;
    padding: 0;
    background: #fff;
    cursor: pointer;
    width: 72px;
    height: 72px;
    overflow: hidden;
}
.ecom-gallery-thumb.is-active {
    border-color: #3a6ee9;
}
.ecom-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 8px 14px;
    position: relative;
    white-space: nowrap;
    flex: 0 0 auto;
    z-index: 7;
}
.nav-cart:hover,
.nav-cart:focus {
    color: #3a6ee9 !important;
}
.nav-cart .fa-shopping-cart {
    font-size: 22px;
    line-height: 1;
}
.nav-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #3a6ee9;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
@media (max-width: 575px) {
    .nav-cart-label {
        display: none;
    }
}
