/* Basic styles for the body to ensure footer sticks to the bottom if content is short */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
    flex: 1;
}

/* Footer General Styles */
.site-footer {
    color: var(--color-footer-text);
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
}

.footer-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.site-footer h2, 
.site-footer h4 {
    color: var(--color-footer-heading);
    font-size: 18px;
    text-transform: uppercase;
    margin: 10px auto;
    letter-spacing: 1px;
}

.footer-column {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-column {
        width: 32%;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .footer-column.about {
        padding-right: 15px;
    }
}

/* Column Specific Styles */
.footer-logo-text {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.footer-column.about p {
    color: var(--color-footer-muted);
}

.footer-column.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column.links ul a {
    color: var(--color-footer-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column.links ul a:hover {
    color: var(--color-footer-heading);
}

.footer-column.contact p a {
    color: var(--color-footer-text);
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
    margin: 3px;
}

.footer-column.contact p a:hover {
    color: var(--color-footer-heading);
}

.footer-column.contact .material-icons {
    margin-right: 10px;
    font-size: 20px;
    vertical-align: text-bottom;
}

/* Footer Bottom Bar */
.footer-bottom {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0px 15px 0;
    border-top: 1px solid var(--color-border-strong);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--color-footer-muted);
}

.developer-credit a {
    color: var(--color-footer-text);
    text-decoration: none;
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: var(--color-footer-heading);
}

/* Footer Background + Wave */
.site-footer {
    position: relative;
    background: var(--color-surface-footer);
    padding: 80px 6% 10px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--color-surface-1);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C150,100 350,0 500,50 C650,100 850,0 1000,50 L1000,0 L0,0 Z' fill='%23000000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C150,100 350,0 500,50 C650,100 850,0 1000,50 L1000,0 L0,0 Z' fill='%23000000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
