/* MTA FABRICS - GLOBAL HEADER AND FOOTER */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #493323;
}

a {
    text-decoration: none;
}

/* TOP BAR */
.topbar {
    min-height: 35px;
    padding: 9px 5%;
    background: #493323;
    color: #f8f0e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 11px;
    letter-spacing: .6px;
}

/* HEADER */
.site-header {
    width: 100%;
    background: #fffdf9;
    border-bottom: 1px solid #eee4d7;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1300px;
    width: 92%;
    min-height: 88px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #493323;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
}

.site-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
}

.main-nav a {
    color: #493323;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.main-nav a:hover {
    color: #bd9560;
}

.header-whatsapp {
    display: inline-block;
    padding: 12px 17px;
    background: #493323;
    color: white;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    transition: .2s;
}

.header-whatsapp:hover {
    background: #bd9560;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: #493323;
    border: 1px solid #d9c9b5;
    padding: 8px 12px;
    font-size: 23px;
    cursor: pointer;
}

/* FOOTER */
.site-footer {
    background: #2b2018;
    color: #eee4d8;
    padding: 60px 5% 0;
}

.footer-container {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-brand {
    color: #e2bd88;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: bold;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: #e2bd88;
    font-size: 16px;
}

.footer-column p {
    margin: 0;
    color: #cbbdaf;
    font-size: 13px;
    line-height: 1.9;
}

.footer-column > a:not(.footer-brand):not(.footer-whatsapp) {
    color: #d9cec2;
    font-size: 13px;
    transition: .2s;
}

.footer-column a:hover {
    color: #e2bd88;
}

.footer-whatsapp {
    display: inline-block;
    padding: 11px 15px;
    background: #bd9560;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.footer-bottom {
    max-width: 1250px;
    margin: auto;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    color: #cbbdaf;
    font-size: 12px;
}

.footer-bottom strong {
    color: #e2bd88;
}

/* MOBILE HEADER AND FOOTER */
@media (max-width: 950px) {
    .header-container {
        min-height: 76px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        order: 5;
        background: #fffdf9;
        border-top: 1px solid #eee4d7;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 14px 10px;
        border-bottom: 1px solid #eee4d7;
    }

    .header-whatsapp {
        font-size: 11px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .topbar {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .topbar span:last-child {
        display: none;
    }

    .site-logo {
        font-size: 19px;
    }

    .site-logo img {
        width: 48px;
        height: 48px;
    }

    .header-whatsapp {
        padding: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
