@font-face {
    font-family: 'The Blendinroom';
    src: url('../font/THE%20BLENDINROOM.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-light: #FDCA9A;
    --color-bg: #5F2029;
    --custom-bg: #591829;
    --secondary-bg: #FFF3D8;
    --custom-peach: #FF7161;
    --custom-grey: #394459;
    --custom-yellow: #F9C89B;
    --bespoke-bg: #FED0BD;
    --core-bg: #621C26;
    --custom-green: #214546;
    --custom-dark: #3C4659;
    --custom-pink: #F6CDC5;
    --custom-bg-light: #652435;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select,
a {
    font-family: 'Lora', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'The Blendinroom', serif;
}

a,
button {
    color: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}


.main-footer {
    background-color: var(--custom-bg);
    color: var(--custom-yellow);
    position: relative;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.footer-pattern {
    width: 100%;
    height: 200px;
    flex: 0 0 auto;
    background-image: url('../image/footer_top_img.png');
    background-size: cover;
    background-position: center;
}

.footer-container {
    padding: 3% 5%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}

.footer-container .footer-col {
    flex: 1 1 180px;
    min-width: 0;
}

.footer-container .footer-col:first-child {
    flex-grow: 1.2;
}

.footer-container .footer-col:nth-child(2) {
    flex-grow: .7;
}

.footer-sub-section {
    margin-bottom: 50px;
}

.footer-sub-section h4 {
    font-family: 'Lora', serif;
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 400;
}

.footer-sub-section ul {
    list-style: none;
    padding: 0;
}

.footer-sub-section ul li {
    margin-bottom: 10px;
}

.footer-contact {
    margin-bottom: 40px;
}

.footer-contact h6 {
    text-decoration: none;
    color: var(--custom-yellow);
    font-size: 20px;
    font-weight: 400;
    transition: opacity 0.3s;
    letter-spacing: 2px;
}

.footer-sub-section ul li a,
.footer-contact p,
.footer-contact a {
    text-decoration: none;
    color: var(--custom-yellow);
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s;
}

.footer-sub-section ul li a:hover {
    opacity: 1;
}

.footer-logo {
    width: 140px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 100%;
}

.footer-contact p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--custom-yellow);
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
}

.footer-bottom {
    background-color: var(--custom-bg-light);
    padding: 20px 5%;
}

.bottom-wrap {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

.bottom-wrap a {
    color: var(--custom-yellow);
    text-decoration: none;
    margin: 0 20px;
}


@media (max-width: 576px) {
    .main-footer {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .footer-logo {
        margin: 0 auto 60px;
    }

    .footer-bottom {
        padding: 36px 30px 40px 30px;
    }

    .bottom-wrap {
        display: grid;
        grid-template-columns: max-content max-content;
        justify-content: start;
        column-gap: 32px;
        row-gap: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .bottom-wrap span {
        grid-column: 1 / -1;
    }

    .bottom-wrap span:last-child {
        grid-row: 1;
    }

    .bottom-wrap span:first-child {
        grid-row: 2;
    }

    .bottom-wrap a {
        grid-row: 3;
        margin: 12px 0 0;
    }

    .footer-container {
        padding: 10% 5% 10% 30px;
    }
}