/* ========================================
   SITE FOOTER
   Pixel-perfect recreation of indigoinkprint.com footer
   ======================================== */

/* Blue wave band - sits above the gray footer */
.site-footer__wave-band {
    background-color: #022662;
    height: 3vw;
    min-height: 30px;
}

/* Curve wrapper - creates the curved top edge of gray footer */
.site-footer__curve-wrapper {
    position: relative;
    background-color: #58616f;
    border-top-left-radius: 400vw 6vw;
    border-top-right-radius: 400vw 6vw;
    margin-top: -2vw;
    box-shadow: inset 0 10px 14px -10px rgb(0 0 0 / 20%);
    padding-top: 2vw;
}

.site-footer {
    background-color: #58616f;
    color: #fff;
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Main content container */
.site-footer__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px 33px;
}

/* Three-column layout - matches Bootstrap span4 proportions */
.site-footer__main {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 40%) minmax(208px, auto);
    gap: 20px;
    margin-bottom: 20px;
}

/* ----------------------------------------
   Column 1: Logo + Contact Info
   ---------------------------------------- */
.site-footer__contact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding-left: 20px;
    margin-top: 15px;
    min-width: 320px;
}

.site-footer__logo-link {
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 15px;
    margin-right: 15px;
    transition: opacity 0.2s ease;
}

.site-footer__logo-link:hover {
    opacity: 0.8;
}

.site-footer__logo {
    display: block;
}

.site-footer__address {
    width: 230px;
    padding-right: 20px;
    font-style: normal;
    font-size: 14px;
    color: #fff;
    line-height: 20px;
}

.site-footer__address p {
    margin: 0 0 6px 0;
}

.site-footer__address a {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
    text-decoration: none;
}

.site-footer__address a:hover,
.site-footer__address a:focus,
.site-footer__address a:active {
    color: #fff;
    text-decoration: underline;
}

.site-footer__map-link {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.site-footer__map-link:hover {
    opacity: 0.8;
}

/* ----------------------------------------
   Column 2: Nav Links + Copyright + Certs
   ---------------------------------------- */
.site-footer__links {
    display: flex;
    flex-direction: column;
    min-width: 320px;
}

/* Navigation */
.site-footer__nav {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 18px;
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer__nav li {
    border-right: 1px solid #fff;
    padding-right: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.site-footer__nav li:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.site-footer__nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus,
.site-footer__nav a:active {
    color: #fff;
    text-decoration: underline;
}

/* Copyright */
.site-footer__copyright {
    color: #fff;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.site-footer__copyright p {
    margin: 0 0 4px 0;
}

.site-footer__copyright a {
    color: #f68b1f;
    text-decoration: none;
}

.site-footer__copyright a:hover,
.site-footer__copyright a:focus,
.site-footer__copyright a:active {
    color: #f68b1f;
    text-decoration: underline;
}

/* "Digital Printing in Maryland" prominent link */
.site-footer__copyright a strong {
    color: #f68b1f;
}

/* Certifications */
.site-footer__certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 24px;
}

.site-footer__certifications a {
    display: inline-block;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.site-footer__certifications a:hover {
    opacity: 1;
    text-decoration: none;
}

.site-footer__certifications img {
    display: block;
    height: auto;
}

/* ----------------------------------------
   Column 3: Social Icons
   ---------------------------------------- */
.site-footer__social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: right;
    padding-top: 14px;
    padding-right: 20px;
    margin-bottom: 20px;
    min-width: 208px;
}

.site-footer__social a {
    display: inline-block;
    padding-right: 10px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.site-footer__social a:last-child {
    padding-right: 0;
}

.site-footer__social a:hover {
    opacity: 1;
    text-decoration: none;
}

.site-footer__social img {
    display: block;
}

/* ========================================
   DARK VARIANT
   Used on root Mission Control page
   The curve wrapper ALWAYS stays gray (#58616f)
   The blue "wave" effect comes from page background showing through the curved edge
   ======================================== */

/* Curve wrapper is ALWAYS gray - do not override */
/* The dark variant class on wrapper is only for page context, not background color */

/* ========================================
   RESPONSIVE BREAKPOINTS
   Matches original site breakpoints
   ======================================== */

@media (max-width: 1400px) {
    .site-footer__content {
        max-width: 100%;
    }
}

@media (max-width: 1010px) {
    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer__contact,
    .site-footer__links {
        width: 100%;
        float: none;
    }

    .site-footer__social {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .site-footer__links {
        padding-top: 30px;
    }
}

@media (max-width: 1000px) {
    .site-footer__contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    .site-footer__logo-link {
        float: none;
        display: block;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-right: 0;
        padding-bottom: 16px;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .site-footer__address {
        width: 100%;
        float: none;
        padding: 0;
        max-width: 100%;
        text-align: center;
    }

    .site-footer__links {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .site-footer__nav ul {
        margin-top: 24px;
        margin-bottom: 0;
    }

    .site-footer__copyright {
        font-size: 16px;
    }

    .site-footer__social {
        width: 100%;
        text-align: center;
        padding-top: 24px;
        justify-content: center;
    }

    .site-footer__certifications {
        padding-top: 24px;
    }

    .site-footer__content {
        padding: 20px 0 33px;
    }
}

@media (max-width: 768px) {
    .site-footer__curve-wrapper {
        padding-top: 3vw;
    }

    .site-footer__nav li {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .site-footer__certifications img {
        max-height: 45px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .site-footer__curve-wrapper {
        padding-top: 4vw;
    }

    .site-footer__certifications img {
        max-height: 40px;
    }

    .site-footer__social a {
        padding-right: 8px;
    }
}
