/* ---------------------------------------------------------------
   modern.css - public site facelift (2026)
   Loaded after default.css in Common/layout. Scoped to the public
   marketing pages: nav, footer, and homepage (hero + brand grid).
   Portals and staff screens are untouched.
   --------------------------------------------------------------- */

:root {
    --atx-yellow: #f7c81e;
    --atx-black: #131210;
    --atx-charcoal: #1d1b18;
    --atx-paper: #faf8f4;
    --atx-ink: #232019;
    --atx-muted: #7a7468;
    --atx-line: #e7e2d8;
}

body {
    background: var(--atx-paper);
    color: var(--atx-ink);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}

/* ---- top nav ---- */
.navbar-wrapper .navbar-inverse {
    background: var(--atx-black);
    border: none;
    border-bottom: 3px solid var(--atx-yellow);
    border-radius: 0;
    margin-bottom: 0;
}
.navbar-wrapper .navbar { min-height: 64px; }
.navbar-wrapper .navbar-brand { padding-top: 18px; }
.navbar-wrapper .navbar-nav > li > a {
    color: #cfc9bd;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-top: 22px;
    padding-bottom: 22px;
    transition: color 0.15s ease;
}
.navbar-wrapper .navbar-nav > li > a:hover,
.navbar-wrapper .navbar-nav > li > a:focus,
.navbar-wrapper .navbar-nav > li.active > a {
    color: var(--atx-yellow);
    background: transparent;
}
.navbar-wrapper .navbar-nav > li > a.btn-warning {
    background: var(--atx-yellow);
    border: none;
    border-radius: 3px;
    color: var(--atx-black) !important;
    font-weight: 600;
    margin-top: 14px;
    padding: 8px 18px !important;
}
.navbar-wrapper .navbar-nav > li > a.btn-warning:hover {
    background: #ffd84d;
}
.navbar-wrapper .navbar-toggle { border-color: #444; }
.navbar-wrapper .navbar-toggle .icon-bar { background: var(--atx-yellow); }

/* ---- full-bleed helper (content sits inside .container) ---- */
.atx-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

/* ---- hero ---- */
.atx-hero {
    background: linear-gradient(160deg, var(--atx-black) 0%, var(--atx-charcoal) 70%, #2a2418 100%);
    color: #f4f0e6;
    padding: 84px 24px 76px;
    text-align: center;
}
.atx-hero h1 {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-size: 56px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0 auto 18px;
    max-width: 820px;
    text-transform: uppercase;
}
.atx-hero h1 .accent { color: var(--atx-yellow); }
.atx-hero p.lead {
    color: #b8b1a2;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto 34px;
    max-width: 640px;
}
.atx-hero .atx-cta {
    background: var(--atx-yellow);
    border-radius: 4px;
    color: var(--atx-black);
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0 8px 10px;
    padding: 14px 32px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.15s ease, transform 0.15s ease;
}
.atx-hero .atx-cta:hover { background: #ffd84d; transform: translateY(-1px); }
.atx-hero .atx-cta.ghost {
    background: transparent;
    border: 2px solid #58534a;
    color: #f4f0e6;
}
.atx-hero .atx-cta.ghost:hover { border-color: var(--atx-yellow); color: var(--atx-yellow); background: transparent; }

.atx-hero .atx-stats {
    color: #8d8678;
    font-size: 14px;
    letter-spacing: 0.14em;
    margin-top: 40px;
    text-transform: uppercase;
}
.atx-hero .atx-stats span { margin: 0 14px; white-space: nowrap; }
.atx-hero .atx-stats .dot { color: var(--atx-yellow); }

/* ---- brand grid ---- */
.atx-section-head {
    margin: 56px 0 8px;
    text-align: center;
}
.atx-section-head h2 {
    font-family: "Oswald", sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
    text-transform: uppercase;
}
.atx-section-head h2:after {
    background: var(--atx-yellow);
    content: "";
    display: block;
    height: 4px;
    margin: 14px auto 0;
    width: 56px;
}
.atx-section-head p { color: var(--atx-muted); font-size: 16px; margin-bottom: 0; }

.brand-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    margin: 36px 0 20px;
}
.brand-card {
    background: #fff;
    border: 1px solid var(--atx-line);
    border-radius: 10px;
    display: block;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-card:hover {
    box-shadow: 0 14px 30px rgba(30, 26, 16, 0.14);
    transform: translateY(-4px);
}
.brand-card .brand-photo {
    aspect-ratio: 4 / 3;
    background: #edeae2;
    display: block;
    object-fit: cover;
    width: 100%;
}
.brand-card .brand-name {
    color: var(--atx-ink);
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 16px 15px;
    text-align: center;
}
.brand-card:hover .brand-name { color: #8a6d00; }

/* ---- footer ---- */
.container.marketing > hr.featurette-divider { border-color: var(--atx-line); margin: 48px 0 0; }
footer {
    color: var(--atx-muted);
    font-size: 14px;
    padding: 22px 0 34px;
}
footer a { color: var(--atx-muted); text-decoration: underline; }

@media (max-width: 767px) {
    .atx-hero { padding: 56px 18px 50px; }
    .atx-hero h1 { font-size: 34px; }
    .atx-hero p.lead { font-size: 16px; }
    .atx-hero .atx-stats span { display: block; margin: 6px 0; }
    .brand-grid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .brand-card .brand-name { font-size: 14px; padding: 10px 8px; }
}

/* ---------------------------------------------------------------
   Rest-of-site facelift. Everything below is scoped to PUBLIC pages
   via body:not(.sidebar-fixed) - the staff and customer portal
   layouts set body class "sidebar-fixed topnav-fixed dashboard4",
   so none of this touches them (portal nav is handled separately
   via .atx-portal-nav).
   --------------------------------------------------------------- */

body:not(.sidebar-fixed) h1,
body:not(.sidebar-fixed) h2,
body:not(.sidebar-fixed) h3,
body:not(.sidebar-fixed) h4 {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.03em;
}
body:not(.sidebar-fixed) a { color: #8a6d00; }
body:not(.sidebar-fixed) a:hover { color: #5f4b00; }

/* yellow primary buttons on public pages */
body:not(.sidebar-fixed) .btn-primary {
    background: var(--atx-yellow);
    border-color: var(--atx-yellow);
    color: var(--atx-black);
    font-weight: 600;
}
body:not(.sidebar-fixed) .btn-primary:hover,
body:not(.sidebar-fixed) .btn-primary:focus {
    background: #ffd84d;
    border-color: #ffd84d;
    color: var(--atx-black);
}

/* breadcrumbs */
body:not(.sidebar-fixed) .breadcrumb {
    background: transparent;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin: 18px 0 4px;
    padding-left: 0;
    text-transform: uppercase;
}

/* pagination */
body:not(.sidebar-fixed) .pagination > li > a,
body:not(.sidebar-fixed) .pagination > li > span {
    border-color: var(--atx-line);
    color: var(--atx-ink);
}
body:not(.sidebar-fixed) .pagination > .active > a,
body:not(.sidebar-fixed) .pagination > .active > a:hover,
body:not(.sidebar-fixed) .pagination > .active > span {
    background: var(--atx-yellow);
    border-color: var(--atx-yellow);
    color: var(--atx-black);
}

/* portfolio + brand item rows -> cards */
body:not(.sidebar-fixed) .item-list {
    background: #fff;
    border: 1px solid var(--atx-line);
    border-radius: 10px;
    margin: 0 0 22px;
    padding: 24px 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body:not(.sidebar-fixed) .item-list:hover {
    box-shadow: 0 14px 30px rgba(30, 26, 16, 0.12);
    transform: translateY(-3px);
}
body:not(.sidebar-fixed) .item-list img {
    display: inline-block;
    max-height: 220px;
    width: auto;
}
body:not(.sidebar-fixed) .item-list p:first-child a:first-child {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
}
body:not(.sidebar-fixed) #search { margin-top: 20px; }

/* panels (contact, login landing, request access, item pages) */
body:not(.sidebar-fixed) .panel,
body:not(.sidebar-fixed) .well {
    background: #fff;
    border: 1px solid var(--atx-line);
    border-radius: 10px;
    box-shadow: none;
    margin-top: 24px;
}
body:not(.sidebar-fixed) .panel-info > .panel-heading,
body:not(.sidebar-fixed) .panel-default > .panel-heading {
    background: var(--atx-black);
    border-bottom: 3px solid var(--atx-yellow);
    border-radius: 9px 9px 0 0;
    color: #f4f0e6;
}
body:not(.sidebar-fixed) .panel-info > .panel-heading .panel-title,
body:not(.sidebar-fixed) .panel-default > .panel-heading .panel-title {
    font-family: "Oswald", sans-serif;
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body:not(.sidebar-fixed) .panel-body { padding: 22px 24px; }
body:not(.sidebar-fixed) .panel-body hr { border-color: var(--atx-line); margin: 12px 0; }

/* login landing buttons */
body:not(.sidebar-fixed) .btn-lg.btn-primary {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.08em;
    min-width: 240px;
    text-transform: uppercase;
}

/* ---- customer portal top nav (opt-in via .atx-portal-nav) ---- */
.atx-portal-nav.navbar-default {
    background: var(--atx-black);
    border: none;
    border-bottom: 3px solid var(--atx-yellow);
    border-radius: 0;
}
.atx-portal-nav .navbar-brand {
    color: var(--atx-yellow) !important;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.atx-portal-nav .navbar-nav > li > a {
    color: #cfc9bd !important;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.atx-portal-nav .navbar-nav > li > a:hover { color: var(--atx-yellow) !important; }
