/* Footer Style */
 
/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,600;0,700;1,400&family=Jost:wght@300;400;500&display=swap');
 
/* Colour Palette Vars */
:root {
    --blue-black:   #111518;
    --dark-blue:    #2D3238;
    --steel-grey:   #737D87;
    --ice-silver:   #C4CCD4;
    --cool-white:   #F0F4F7;
    --powder-blue:  #6A9FBF;
}
 
/* Footer */
footer {
    background-color: var(--blue-black);
    color: var(--steel-grey);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    padding: 60px 48px 24px 48px;
}
 
/* Footer Columns */
footer > div {
    display: inline-block;
    vertical-align: top;
}
 
footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1.6fr 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 40px;
    align-items: start;
}
 
/* copyright */
footer hr {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px solid var(--ice-silver);
    opacity: 0.25;
    margin: 40px 0 20px 0;
}
 
footer > p {
    grid-column: 1 / -1;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--steel-grey);
    opacity: 0.7;
    letter-spacing: 0.04em;
    margin: 0;
}
 
/* <About Section> */
.about h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--cool-white);
    letter-spacing: 0.03em;
    margin: 0 0 4px 0;
}
 
.about h3 {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--powder-blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px 0;
}
 
.about p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--steel-grey);
    margin: 0 0 22px 0;
}
 
/* Social Media Icons */
.about a {
    display: inline-block;
    margin-right: 14px;
    color: var(--steel-grey);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}
 
.about a:hover {
    color: var(--powder-blue);
    transform: translateY(-3px);
}
 
/* <Quick Links Section> */
.q_links h2,
.location h2,
.opening_hours h2,
.contact h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cool-white);
    letter-spacing: 0.04em;
    margin: 0 0 18px 0;
    text-decoration: none;
}

.q_links u,
.location u,
.opening_hours u,
.contact u {
    border-bottom: 1.5px solid var(--powder-blue);
    padding-bottom: 4px;
}
 
.q_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.q_links ul li {
    margin-bottom: 10px;
}
 
.q_links ul li a {
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--steel-grey);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
 
.q_links ul li a:hover {
    color: var(--powder-blue);
    padding-left: 5px;
}
 
/* <Location Section> */
.location .fa-location-dot {
    color: var(--powder-blue);
    font-size: 1rem;
    margin-right: 7px;
}
 
.location p {
    display: inline;
    font-size: 0.88rem;
    color: var(--steel-grey);
}
 
.location iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 180px;
    margin-top: 16px;
    border: 1px solid var(--ice-silver);
    border-radius: 6px;
    opacity: 0.85;
    filter: grayscale(30%);
}
 
/* <Opening Hours Section> */
.opening_hours p {
    font-size: 0.88rem;
    color: var(--steel-grey);
    margin: 0 0 9px 0;
    line-height: 1.5;
}
 
/* <Contact Section> */
.contact a {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}
 
.contact a p {
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    color: var(--steel-grey);
    margin: 0;
    transition: color 0.2s ease;
}
 
.contact a:hover p {
    color: var(--powder-blue);
}

/* < Responsive Breakpoints > */

/* Extra Large (1600px+) */
@media (min-width: 1600px) {
    footer {
        padding: 80px 120px 32px 120px;
        column-gap: 60px;
    }

    .about h1 {
        font-size: 2.2rem;
    }
}

/* Tablet Landscape (≤1024px) */
@media (max-width: 1024px) {
    footer {
        padding: 48px 32px 20px 32px;
        grid-template-columns: 2fr 1fr 1.4fr 1fr;
        column-gap: 28px;
    }

    .contact {
        display: none;
    }

    .about h1 {
        font-size: 1.6rem;
    }

    .location iframe {
        height: 150px;
    }
}

/* Tablet Portrait (≤768px) */
@media (max-width: 768px) {
    footer {
        padding: 48px 32px 20px 32px;
        grid-template-columns: 1fr 1fr;
        column-gap: 32px;
        row-gap: 40px;
    }

    /* About spans full width at the top */
    .about {
        grid-column: 1 / -1;
    }

    /* Hide the in-footer map */
    .location iframe {
        display: none;
    }

    .location .fa-location-dot {
        display: inline;
    }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
    footer {
        padding: 40px 24px 20px 24px;
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .about {
        grid-column: 1;
    }

    .about h1 {
        font-size: 1.5rem;
    }

    footer hr {
        margin: 24px 0 16px 0;
    }
}