/* Marinex footer redesign (front.footer). Adds: a pre-footer CTA banner,
   a logo-mark watermark on the dark footer background, a restyled
   newsletter signup, a certifications/trust-logo strip, and a refreshed
   copyright bar. $footermenu column data-wiring and all real hrefs in
   footer.blade.php are untouched — this file only adds presentation for
   new markup and restyles existing elements via additional classes. */

/* ---- Pre-footer CTA banner ---- */
.marinex-footer-cta {
    background: linear-gradient(120deg, #0f3450 0%, #00772d 100%);
    padding: 36px 0;
}
.marinex-footer-cta .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.marinex-footer-cta-heading {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
@media (max-width: 767.98px) {
    .marinex-footer-cta .container-fluid {
        flex-direction: column;
        text-align: center;
    }
    .marinex-footer-cta .btn {
        width: 100%;
    }
}

/* ---- Footer base ---- */
.marinex-footer {
    position: relative;
    overflow: hidden;
}
.marinex-footer-watermark {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 420px;
    height: calc(420px * 97 / 300);
    background-image: url('/storage/images/white-logo-pattern.webp');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.06;
    transform: rotate(-6deg);
    pointer-events: none;
    z-index: 0;
}
.marinex-footer .footer-top,
.marinex-footer-certs,
.marinex-footer-copyright {
    position: relative;
    z-index: 1;
}
@media (max-width: 767.98px) {
    .marinex-footer-watermark {
        width: 260px;
        height: calc(260px * 97 / 300);
    }
}

/* ---- Newsletter (restored under column 1) ---- */
.marinex-footer-newsletter {
    margin-top: 20px;
}
.marinex-footer-newsletter-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    display: block;
}
.marinex-footer-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 13px;
    width: 100%;
    margin-bottom: 10px;
}
.marinex-footer-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.marinex-footer-input:focus {
    outline: none;
    border-color: #00a1e4;
    background: rgba(255, 255, 255, 0.12);
}

/* ---- Certifications / trust-logo strip ---- */
.marinex-footer-certs {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.marinex-cert-chip {
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
}
.marinex-cert-chip img {
    max-height: 30px;
    width: auto;
}

/* ---- Copyright bar ---- */
.marinex-footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.marinex-footer-wordmark-echo {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 767.98px) {
    .marinex-footer-wordmark-echo {
        display: none;
    }
}

/* ---- Mobile layout pass ---- */
@media (max-width: 767.98px) {
    .marinex-footer {
        text-align: left;
    }
    .marinex-footer .footer-top {
        padding-top: 32px;
        padding-bottom: 20px;
    }
    .marinex-footer-cta {
        padding: 24px 0;
    }
    .marinex-footer-cta .container-fluid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .marinex-footer-cta-heading {
        font-size: 18px;
    }
    .marinex-footer-cta .btn {
        width: 100%;
    }
    .marinex-footer-certs {
        padding: 16px 0;
        gap: 8px;
        justify-content: center;
    }
    .marinex-cert-chip {
        height: 40px;
        padding: 4px 12px;
    }
    .marinex-cert-chip img {
        max-height: 20px;
    }
    .marinex-footer-copyright {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}
