/* ==========================================================================
   PCM Site Chrome — Shared header, footer, utility bar styles
   Include on any page that uses pcm-site-chrome.js
   ========================================================================== */

/* ---------- Utility Bar ---------- */
.utility-bar {
    background: #1a1a1a;
    padding: 8px 20px;
    font-size: 12px;
    position: sticky;
    top: 0;
    z-index: 101;
}

.utility-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-bar a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.utility-bar a:hover {
    color: #a69162;
}

.utility-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.utility-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ---------- Header ---------- */
.header {
    padding: 28px 20px;
    position: sticky;
    top: 30px;
    background: #fff;
    z-index: 100;
}

.header-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header .logo {
    height: 32px;
    width: auto;
}

.desktop-nav {
    display: none;
}

.nav-cta.btn.btn-gold {
    padding: 12px 24px;
    font-size: 16px;
    min-height: auto;
    margin-left: 4px;
    color: #fff;
}

.menu-toggle {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5efe0;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.menu-close {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
}

.menu-nav {
    list-style: none;
}

.menu-nav li {
    border-bottom: 1px solid #dcd7ca;
}

.menu-nav a {
    display: block;
    padding: 18px 0;
    font-family: franklin-gothic-condensed, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.menu-nav a.active {
    color: #a69162;
}

.menu-sub-nav {
    list-style: none;
    padding: 0 0 4px 16px;
    margin: 0;
}

.menu-sub-nav li {
    border-bottom: none;
}

.menu-sub-nav a {
    display: block;
    padding: 10px 0;
    font-family: franklin-gothic-condensed, -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #666;
}

.menu-sub-nav a:hover {
    color: #a69162;
}

/* ---------- Desktop Dropdown / Mega Menu ---------- */
.nav-dropdown {
    position: static;
}

.nav-dropdown-trigger {
    cursor: pointer;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 200;
    padding: 28px 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-dropdown:hover .mega-menu {
    display: block;
    opacity: 1;
}

.mega-menu-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mega-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.mega-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16 / 10;
}

.mega-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-card:hover .mega-card-image img {
    transform: scale(1.05);
}

.mega-card-content {
    padding: 12px 0 0;
}

.mega-card-content .mega-card-title {
    display: block;
    font-family: franklin-gothic-condensed, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
    line-height: 1.25;
}

.mega-card-content p {
    font-size: 12px;
    line-height: 1.5;
    color: #888;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-card-link {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a69162;
    transition: opacity 0.2s;
}

.mega-card:hover .mega-card-link {
    opacity: 0.7;
}

/* ---------- Buttons (used by nav CTA) ---------- */
.btn {
    display: inline-block;
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    background: #1a1a1a;
    color: #fff;
    min-height: 48px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.85;
}

.btn-gold {
    background: #8a7745;
    color: #fff;
}

/* ---------- Rich Footer ---------- */
.site-footer {
    background: #1F3C50;
    color: #fff;
    padding: 50px 20px 24px;
}

.footer-inner {
    max-width: 1450px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 30px;
}

.footer-logo-text {
    font-family: franklin-gothic-condensed, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    display: block;
    margin: 0 0 12px;
}

.footer-brand-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-brand-contact {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-brand-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-brand-contact a:hover {
    color: #a69162;
}

.footer-heading {
    display: block;
}

.footer-newsletter .footer-heading {
    font-family: franklin-gothic-condensed, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.site-footer .newsletter-form {
    display: flex;
    gap: 0;
    max-width: 395px;
}

.site-footer .newsletter-input {
    flex: 1;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    min-height: 44px;
}

.site-footer .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.site-footer .newsletter-input:focus {
    outline: none;
    border-color: #a69162;
}

.site-footer .newsletter-btn {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #8a7745;
    color: #fff;
    border: 1px solid #8a7745;
    padding: 12px 20px;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
    transition: opacity 0.2s;
}

.site-footer .newsletter-btn:hover {
    opacity: 0.85;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col .footer-heading {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a69162;
    margin-bottom: 14px;
}

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

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #a69162;
}

.footer-partners-row {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-partners-label {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}

.footer-partner-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.footer-partner-links a {
    font-family: franklin-gothic-compressed, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-partner-links a:hover {
    color: #a69162;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #a69162;
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 12px;
}

.footer-bottom-bar p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

/* ---------- Honeypot ---------- */
.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: flex;
        flex: 1;
        gap: 8px;
        align-items: center;
        justify-content: center;
    }

    .desktop-nav > .nav-cta {
        position: absolute;
        right: 0;
    }

    .desktop-nav > a,
    .desktop-nav .nav-dropdown-trigger {
        font-family: franklin-gothic-compressed, sans-serif;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: capitalize;
        color: #1a1a1a;
        padding: 10px 16px;
        transition: color 0.2s ease;
        text-decoration: none;
        display: block;
    }

    .desktop-nav > a:hover,
    .desktop-nav > a.active,
    .desktop-nav .nav-dropdown-trigger:hover,
    .desktop-nav .nav-dropdown-trigger.active {
        color: #a69162;
    }

    .header .logo {
        height: 48px;
    }

    .site-footer {
        padding: 50px 40px 24px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-columns {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1100px) {
    .desktop-nav > a,
    .desktop-nav .nav-dropdown-trigger {
        font-size: 18px;
        padding: 12px 20px;
    }
}
