@font-face {
    font-family: 'TCCC Unity';
    src: url("../fonts/tccc-unity/TCCC-UnityHeadline-Regular.woff2") format("woff2"),
        url("../fonts/tccc-unity/TCCC-UnityHeadline-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-primary: #c30702;
    --color-primary-dark: #8b0500;
    --color-secondary: #b68926;
    --color-font-default: #686f79;
    --color-dark-accent: #1a1a1a;
    --color-light-accent: #f4f4f4;
    --color-deep-charcoal: #333333;
    --color-light-charcoal: #666666;
    --color-widget-two-blue: #1f4f75;
    --color-main-background: #dce5f0;
}

body {
    font-family: 'TCCC Unity', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 1.2em;
    color: var(--color-font-default);
}

.row {
    margin: 10px 0px;
}

header {
    padding: 4px 0;
    background-color: var(--color-dark-accent);
    color: white;

    .contact-info {
        justify-content: flex-start;
    }

    .social {
        justify-content: flex-end;
    }

    .contact-info,
    .social {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: flex;
        gap: 15px;
    }

    .contact-info li,
    .social li {
        display: inline-flex;
        align-items: center;
    }

    .contact-info a {
        text-decoration: none;
        font-weight: bold;
        margin-left: 8px;
        letter-spacing: 1px;
    }

    .social a img,
    .social button img {
        width: 40px;
        height: auto;
    }

    .social button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    ul {
        list-style-type: none;
    }

    a {
        color: white;
        text-decoration: none;
    }

    @media (max-width: 992px) {

        .contact-info,
        .social {
            justify-content: center;
            text-align: center;
            flex-wrap: wrap;
        }

        .social {
            margin-top: 8px;
        }


    }

}



h1,
h2,
h3 {
    padding-top: 20px;
    color: var(--color-secondary);
}

.alternate-color {
    color: var(--color-primary);
}

h1 {
    font-size: 3.0rem;
    font-weight: bold;
    text-align: center;
}

h2 {
    font-size: 2.6rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

h3 {
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.main-text {
    margin-top: 16px;
    margin-bottom: 16px;
    line-height: 35px;
    text-align: justify;
}

.joinery-icons {
    padding: 40px 0;
    text-align: center;
}

.joinery-icons img {
    width: 120px;
    height: 120px;

}

.portfolio img {
    max-height: 180px;
}

.profile {
    height: 70px;
    width: 70px;

}

.main-logo {
    width: 100%;
    display: block;
}

.main-logo img {
    max-width: 500px;
    margin: 20px 0;
}



.contact-details {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.social a {
    margin: 5px;
}

.social img {
    width: 40px;
    height: 40px;
}

.btn {
    border: 0;
}

.copyright {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-top: 30px;
    text-align: center;
    font-size: 0.70em;
    padding: 15px;
    color: #747474;
}

.copyright a {
    text-decoration: none;
    color: #747474;
}

.copyright a:hover {
    text-decoration: underline;
}

.widget-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.widget div {
    font-size: 40px;
    margin-bottom: 10px;

}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 90px;
    height: 90px;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.icon-wrapper svg {
    width: 60px;
    height: 60px;
}




.widget p {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    margin: 8px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}


.cta-button:hover {
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.cta-main {
    color: #fff;
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cta-secondary {
    border: 2px solid var(--color-primary-dark);
    color: var(--color-primary-dark);
}

.contact-widget {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background-color: var(--color-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;

}

.contact-icon-wrapper {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-widget-text h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    color: var(--color-light-accent);
}

.contact-widget-text p {
    margin: 4px 0 0 0;
    font-size: 14px;
}

.contact-widget-text a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-widget-text a:hover {
    text-decoration: underline;
}

footer {
    padding-top: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    text-decoration: none;
    color: #707070;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #d4a200;
}



#cookie-policy h1,
#cookie-policy h2 {
    text-align: left;
    color: var(--color-light-charcoal);
    font-size: 1.6rem;
}

#cookie-policy h1 {
    text-transform: uppercase;
    color: var(--color-deep-charcoal);
    font-size: 2.0rem;
}

table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

th {
    color: var(--color-deep-charcoal);
    background-color: #ccc;
    text-align: left;
    padding: 10px;
}

td {
    padding: 10px;
}


tr:nth-child(even) {
    background-color: #eee;
}

@media screen and (max-width: 600px) {
    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 4px;
    }
}

.home-link {
    display: inline-block;
    font-size: 0.8rem;
    padding-top: 32px;
}


@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .main-logo {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 2.0rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .row {
        padding: 1px 0;
    }

    header {
        padding: 0;

        .contact-widget-text h3 {
            font-size: 14px;
        }

        .contact-widget-text p {
            font-size: 12px;
        }

        .contact-info,
        .social {
            margin-top: 0px;
            margin-bottom: 0px;
        }

        .contact-info li {
            font-size: 12px;
        }
    }

}