/* ============================================================
   site-chrome.css — header + footer styling for Resume World.
   Self-contained: no Bootstrap dependency, no global resets.
   Load this file on every page. SEO-sensitive markup unchanged.
   ============================================================ */
/* ============================================================
   Site header (modern, BS5) — used by client/layouts/site-header
   ============================================================ */
.site-nav {
    background-color: #f2f5f9;
    box-shadow: 0 4px 12px rgb(70 101 175 / 0.08);
    padding: 8px 16px;
    z-index: 1030;
}
.site-nav__brand {
    line-height: 1;
    padding: 4px 0;
}
.site-nav__brand img {
    height: 40px;
    width: auto;
}
.site-nav__toggler {
    border-color: #4665AF;
}
.site-nav__toggler:focus {
    box-shadow: 0 0 0 3px rgb(70 101 175 / 0.25);
}
.site-nav__links {
    gap: 4px;
    align-items: center;
}
.site-nav__links .nav-link {
    color: #2c2c2c;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav__links .nav-link:hover,
.site-nav__links .nav-link:focus {
    color: #4665AF;
    background-color: rgb(70 101 175 / 0.08);
}
.site-nav__links .nav-link.active {
    color: #4665AF;
    background-color: rgb(70 101 175 / 0.12);
}
.site-nav__dropdown {
    background: #fff;
    border: 1px solid rgb(70 101 175 / 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.08);
    padding: 8px;
    min-width: 256px;
}
.site-nav__dropdown .dropdown-item {
    color: #2c2c2c;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: normal;
}
.site-nav__dropdown .dropdown-item:hover,
.site-nav__dropdown .dropdown-item:focus {
    background-color: #4665AF;
    color: #fff;
}
.site-nav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-nav__cta-order,
.site-nav__cta-secondary {
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 6px;
    line-height: 1.2;
    transition: all 0.15s ease;
}
.site-nav__cta-order {
    background-color: #4665AF;
    color: #fff;
    border: 1px solid #4665AF;
}
.site-nav__cta-order:hover,
.site-nav__cta-order:focus {
    background-color: #36528f;
    border-color: #36528f;
    color: #fff;
}
.site-nav__cta-secondary {
    background-color: transparent;
    color: #4665AF;
    border: 1px solid #4665AF;
}
.site-nav__cta-secondary:hover,
.site-nav__cta-secondary:focus {
    background-color: #4665AF;
    color: #fff;
}
@media (max-width: 991.98px) {
    .site-nav__collapse {
        padding-top: 12px;
    }
    .site-nav__links {
        align-items: stretch;
        margin-bottom: 12px;
    }
    .site-nav__links .nav-link {
        text-align: center;
    }
    .site-nav__cta {
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav__cta-order,
    .site-nav__cta-secondary {
        text-align: center;
    }
    .site-nav__dropdown {
        box-shadow: none;
        border: 0;
        background: transparent;
        text-align: center;
    }
}

/* ============================================================
   Site footer — self-contained, no Bootstrap dependency.
   Used by resources/views/client/layouts/site-footer.blade.php
   All selectors use .site-footer__* to avoid host-page collisions.
   ============================================================ */
.site-footer,
.site-footer * {
    box-sizing: border-box;
}
.site-footer {
    background-color: #fafbfd;
    color: #2c2c2c;
    margin-top: 80px;
    border-top: 1px solid rgba(70, 101, 175, 0.08);
    font-family: Arial, Helvetica, sans-serif;
}
.site-footer a {
    text-decoration: none;
    color: inherit;
}
.site-footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.site-footer p {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    letter-spacing: normal;
    word-spacing: normal;
}
.site-footer__wrap {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 16px;
    padding-left: 16px;
}
@media (min-width: 576px) { .site-footer__wrap { max-width: 540px; } }
@media (min-width: 768px) { .site-footer__wrap { max-width: 720px; } }
@media (min-width: 992px) { .site-footer__wrap { max-width: 960px; } }
@media (min-width: 1200px) { .site-footer__wrap { max-width: 1140px; } }
@media (min-width: 1400px) { .site-footer__wrap { max-width: 1320px; } }
.site-footer__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Newsletter band --- */
.site-footer__newsletter {
    background: linear-gradient(135deg, #4665AF 0%, #36528f 100%);
    color: #fff;
    padding: 40px 0;
}
.site-footer__newsletter-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.site-footer__newsletter-copy {
    flex: 1 1 280px;
}
.site-footer__newsletter-copy h2 {
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
.site-footer__newsletter-copy p {
    margin: 0;
    opacity: 0.9;
    font-size: 15px;
    color: #fff;
}
.site-footer__newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1 1 380px;
    justify-content: flex-end;
}
.site-footer__newsletter-form input[type="email"] {
    flex: 1 1 220px;
    min-width: 0;
    padding: 11px 16px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: #2c2c2c;
    font-family: inherit;
}
.site-footer__newsletter-form input[type="email"]:focus {
    outline: 2px solid #ffd966;
    outline-offset: 2px;
}
.site-footer__newsletter-form button {
    background-color: #fff;
    color: #4665AF;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    border: 0;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.site-footer__newsletter-form button:hover,
.site-footer__newsletter-form button:focus {
    background-color: #ffd966;
    color: #2c2c2c;
}
.site-footer__newsletter-thanks {
    flex-basis: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #ffd966;
    text-align: right;
}

/* --- Main panel --- */
.site-footer__main {
    padding: 56px 0 40px;
}
.site-footer__brand-strip {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.site-footer__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.site-footer__brand img {
    height: 40px;
    width: auto;
    display: block;
}
.site-footer__tagline {
    flex: 1 1 320px;
    margin: 0;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.55;
}
.site-footer__social {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    color: #4665AF;
    border: 1px solid rgba(70, 101, 175, 0.18);
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.site-footer__social a:hover,
.site-footer__social a:focus {
    background-color: #4665AF;
    border-color: #4665AF;
    color: #fff;
    transform: translateY(-2px);
}

.site-footer__divider {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid rgba(70, 101, 175, 0.12);
    height: 0;
}

/* --- 3 columns --- */
.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.site-footer__col {
    min-width: 0;
}
.site-footer__heading {
    color: #4665AF !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin: 0 0 16px !important;
    line-height: 1.2 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
.site-footer__links li {
    margin-bottom: 9px;
    line-height: 1.45;
}
.site-footer__links a {
    color: #4a4a4a;
    font-size: 15px;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}
.site-footer__links a:hover,
.site-footer__links a:focus {
    color: #4665AF;
    padding-left: 4px;
}
.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #4a4a4a;
}
.site-footer__contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #4665AF;
}
.site-footer__contact a {
    color: #4a4a4a;
    word-break: break-word;
    transition: color 0.15s ease;
}
.site-footer__contact a:hover,
.site-footer__contact a:focus {
    color: #4665AF;
}
.site-footer__email {
    text-transform: lowercase;
}

/* --- Sub-strip --- */
.site-footer__bottom {
    border-top: 1px solid rgba(70, 101, 175, 0.12);
    padding: 20px 0;
    background: #fff;
}
.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer__copyright {
    margin: 0;
    font-size: 14px;
    color: #6a6a6a;
}
.site-footer__legal {
    display: flex;
    gap: 20px;
}
.site-footer__legal a {
    color: #6a6a6a;
    font-size: 14px;
    transition: color 0.15s ease;
}
.site-footer__legal a:hover,
.site-footer__legal a:focus {
    color: #4665AF;
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .site-footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .site-footer__newsletter {
        padding: 32px 0;
    }
    .site-footer__newsletter-copy h2 {
        font-size: 21px;
    }
    .site-footer__newsletter-form {
        justify-content: stretch;
    }
    .site-footer__main {
        padding: 40px 0 28px;
    }
    .site-footer__brand-strip {
        gap: 20px;
    }
    .site-footer__cols {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .site-footer__legal {
        justify-content: center;
    }
}

/* ============================================================
   Defensive overrides — defeat legacy style.css naked-element rules
   on pages that load it alongside site-chrome.css.
   Scoped strictly to .site-nav and .site-footer so nothing else
   on a host page is affected.
   ============================================================ */
.site-nav,
.site-nav *,
.site-footer,
.site-footer * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* Header text overrides */
.site-nav .nav-link,
.site-nav a.nav-link,
.site-nav .dropdown-item,
.site-nav .site-nav__cta-order,
.site-nav .site-nav__cta-secondary {
    font-size: 15px !important;
    line-height: 1.4 !important;
}
.site-nav .nav-link {
    font-weight: 600 !important;
    color: #2c2c2c !important;
    text-transform: none !important;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
    color: #4665AF !important;
}
.site-nav .dropdown-item {
    font-weight: 500 !important;
    color: #2c2c2c !important;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
    color: #fff !important;
}

/* Footer text overrides */
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer span,
.site-footer h2,
.site-footer h3 {
    margin: 0;
    color: inherit;
}
.site-footer .site-footer__newsletter-copy h2 {
    font-size: 26px !important;
    color: #fff !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}
.site-footer .site-footer__newsletter-copy p {
    font-size: 15px !important;
    color: #fff !important;
    line-height: 1.4 !important;
    opacity: 0.9;
}
.site-footer .site-footer__heading {
    font-size: 15px !important;
    color: #4665AF !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    line-height: 1.2 !important;
}
.site-footer .site-footer__tagline {
    font-size: 15px !important;
    color: #4a4a4a !important;
    line-height: 1.55 !important;
}
.site-footer .site-footer__links li,
.site-footer .site-footer__contact li {
    font-size: 15px !important;
    line-height: 1.45 !important;
    color: #4a4a4a !important;
}
.site-footer .site-footer__links a {
    font-size: 15px !important;
    color: #4a4a4a !important;
}
.site-footer .site-footer__links a:hover,
.site-footer .site-footer__links a:focus {
    color: #4665AF !important;
}
.site-footer .site-footer__contact a {
    color: #4a4a4a !important;
    font-size: 15px !important;
}
.site-footer .site-footer__contact a:hover,
.site-footer .site-footer__contact a:focus {
    color: #4665AF !important;
}
.site-footer .site-footer__copyright {
    font-size: 14px !important;
    color: #6a6a6a !important;
    line-height: 1.4 !important;
}
.site-footer .site-footer__legal a {
    font-size: 14px !important;
    color: #6a6a6a !important;
}
.site-footer .site-footer__legal a:hover,
.site-footer .site-footer__legal a:focus {
    color: #4665AF !important;
}
.site-footer .site-footer__newsletter-form input[type="email"] {
    font-size: 15px !important;
    color: #2c2c2c !important;
}
.site-footer .site-footer__newsletter-form button {
    font-size: 15px !important;
    color: #4665AF !important;
    font-weight: 600 !important;
}
.site-footer .site-footer__newsletter-form button:hover,
.site-footer .site-footer__newsletter-form button:focus {
    color: #2c2c2c !important;
}
