.footer {
    position: relative;
    background-color: #2a0a0a;
    background-image: url('/images/footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #d3cab3;
    padding: 60px 40px;
    font-family: var(--font-lato);
}

/* The Gold Border Container */
.borderWrapper {
    border: 4px solid #b07c4b;
    /* Darker gold/bronze border */
    padding: 40px;
    position: relative;
    max-width: 1900px;
    margin: 0 auto;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.column {
    flex: 1;
    min-width: 280px;
}

/* Brand Column */
.brandColumn {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    margin-bottom: 1.5rem;
}

.logoImage {
    width: auto;
    height: 120px;
    object-fit: contain;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-paragraph);
    opacity: 0.9;
    max-width: 400px;
}

.socialIcons {
    display: flex;
    gap: 1rem;
}

.iconLink {
    text-decoration: none;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c49c5c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a0a0a;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.icon:hover {
    background-color: #d3cab3;
    transform: translateY(-3px);
}

/* Links Column */
.linksColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heading {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d3cab3;
    text-transform: capitalize;
}

.linkList {
    list-style: none;
    padding: 0;
    text-align: center;
}

.linkItem {
    margin-bottom: 1rem;
}

.link {
    font-family: var(--font-playfair);
    font-size: 1.1rem;
    color: var(--color-paragraph);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #d3cab3;
}

/* Location Column */
.locationColumn {
    flex: 1.2;
}

.contactInfo {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-paragraph);
}

.address {
    margin-bottom: 1.5rem;
    font-style: normal;
}

.contactRow {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.8rem;
}

.contactRow a {
    color: var(--color-paragraph);
    text-decoration: none;
    transition: color 0.3s;
}

.iconImage {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
    display: inline-block;
}


.contactRow a:hover {
    color: #d3cab3;
}

.phoneIcon,
.emailIcon {
    font-size: 1.1rem;
}

.cityHeading {
    font-family: var(--font-playfair);
    font-size: 1rem;
    margin: 10px 0 10px;
    color: #d3cab3;
    font-weight: 600;
}

.locationItem {
    margin-bottom: 1.5rem;
}

.locationItem:last-child {
    margin-bottom: 0;
}

.contactRow span {
    color: var(--color-paragraph);
}

.subHeading {
    font-family: var(--font-playfair);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: #d3cab3;
}

.hours {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-paragraph);
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    /* border-top: 1px solid rgba(197, 160, 89, 0.3); */
    font-size: 0.9rem;
    color: var(--color-paragraph);
    opacity: 0.8;
}

.copyright a {
    color: #d3cab3;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: #d3cab3;
}

@media (max-width: 1360px) {
    .logoImage {

        object-fit: contain;
        width: 300px;
        height: 120px;
    }

}

@media (max-width: 1600px) and (min-width: 1360px) {
    .logoImage {

        object-fit: contain;
        width: 350px;
        height: 120px;
    }

}

@media (max-width: 1360px) and (min-width: 1200px) {
    .logoImage {

        object-fit: contain;
        width: 250px;
        height: 120px;
    }

}

@media (max-width: 1024px) and (min-width: 768px) {
    .logoImage {
        object-fit: contain;
        width: 142px;
    }
}

/* Tablet Layout: 769px to 1200px */
@media (min-width: 769px) and (max-width: 1200px) {
    .footer {
        padding: 50px 30px;
    }

    .borderWrapper {
        padding: 30px;
    }

    .container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .brandColumn {
        flex: unset;
        min-width: unset;
    }

    .linksColumn {
        flex: unset;
        min-width: unset;
        align-items: center;
        justify-content: flex-start;
    }

    .locationColumn {
        flex: unset;
        min-width: unset;
    }

    .linkList {
        text-align: center;
    }

    /* Location and Hours Layout */
    .locationHoursWrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .locationBlock {
        text-align: left;
    }

    .hoursBlock {
        text-align: left;
    }

    .hoursBlock .subHeading {
        margin-top: 0;
    }

    .description {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .logoImage {
        height: 100px;
    }

    .heading {
        font-size: 1.4rem;
    }

    .link {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .container {
        gap: 2rem;
    }

    .linksColumn {
        align-items: flex-start;
    }

    .linkList {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px;
    }

    .borderWrapper {
        padding: 0px;
        border-width: 1px;
    }

    .container {
        flex-direction: column;
        gap: 3rem;
    }

    .brandColumn,
    .linksColumn,
    .locationColumn {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .linkList {
        text-align: center;
    }

    .contactRow {
        justify-content: center;
    }

    .copyright {
        text-align: center;
        margin-top: 3rem;
        padding-top: 1.5rem;
        /* border-top: 1px solid rgba(197, 160, 89, 0.3); */
        font-size: 0.9rem;
        color: var(--color-paragraph);
        opacity: 0.8;
        padding: 10px;
    }
}

@media (min-width: 1024px) and (max-width: 1024px) {
    .locationHoursWrapper {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    .locationBlock {
        flex: 1;
        text-align: left;
    }

    .hoursBlock {
        flex: 1;
        text-align: left;
        /* left aligned */
    }

    .hoursBlock .hours {
        text-align: left;
        margin-top: 5px;
    }
}