/* ==========================================
   RUNHAMS DECORATING - GLOBAL
   Site-wide chrome (navigation + footer).
   Loaded on every page. Consolidated from
   the old nav.css + footer.css.
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;400;600;700&display=swap');

/* ==========================================
   RUNHAMS DECORATING - NAVIGATION
   Top bar, sticky desktop nav, mobile overlay
   ========================================== */


/* ==========================================
   TOP BAR
   ========================================== */

.runhams-topbar {
    background-color: #2b2b2b;
    padding: 0.5rem 2rem;
    font-family: 'Overpass', sans-serif;
}

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

.runhams-topbar-left,
.runhams-topbar-right {
    display: flex;
    align-items: center;
}

.runhams-topbar-left {
    gap: 1.5rem;
}

/* Instagram icon sits slightly larger than the envelope for legibility */
.runhams-topbar-social i {
    font-size: 0.8125rem;
}

.runhams-topbar-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.runhams-topbar-item:hover {
    color: #fff;
}

.runhams-topbar-item i {
    font-size: 0.6875rem;
    color: #d90f0f;
}

.runhams-topbar-phone {
    color: #fff;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.runhams-topbar-phone:hover {
    color: rgba(255, 255, 255, 0.8);
}

.runhams-topbar-phone i {
    font-size: 0.6875rem;
    color: #d90f0f;
}

/* ==========================================
   DESKTOP NAVIGATION (sticky)
   ========================================== */

.runhams-nav {
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: 'Overpass', sans-serif;
    transition: box-shadow 0.3s ease;
}

.runhams-nav.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.runhams-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px;
}

/* Logo */
.runhams-nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.runhams-nav-logo img {
    height: 62px;
    width: auto;
    display: block;
}

/* Desktop Menu */
.runhams-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.runhams-nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.runhams-nav-menu ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: block;
    position: relative;
}

.runhams-nav-menu ul li a:hover {
    color: #d90f0f;
    background-color: rgba(217, 15, 15, 0.04);
}

/* Active link */
.runhams-nav-menu ul li a.active {
    color: #d90f0f;
    font-weight: 600;
}

/* Nav CTA Button */
.runhams-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.375rem;
    background-color: #d90f0f;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.2px;
    margin-left: 0.75rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.runhams-nav-cta:hover {
    background-color: #b50d0d;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(217, 15, 15, 0.25);
}

/* Hamburger - hidden on desktop */
.runhams-nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.runhams-nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.runhams-nav-hamburger span:nth-child(1) {
    top: 12px;
}

.runhams-nav-hamburger span:nth-child(2) {
    top: 19px;
}

.runhams-nav-hamburger span:nth-child(3) {
    top: 26px;
}

/* Hamburger → X animation */
.runhams-nav-hamburger.active span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.runhams-nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.runhams-nav-hamburger.active span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile menu - hidden on desktop */
.runhams-mobile-nav {
    display: none;
}

/* ==========================================
   RESPONSIVE - TABLET (1024px)
   Show hamburger, hide desktop menu
   ========================================== */

@media screen and (max-width: 1024px) {

    .runhams-topbar {
        display: none;
    }

    .runhams-nav {
        padding: 0 1.5rem;
    }

    .runhams-nav-inner {
        height: 72px;
    }

    .runhams-nav-logo img {
        height: 54px;
    }

    /* Show hamburger */
    .runhams-nav-hamburger {
        display: flex;
    }

    /* Hide desktop menu */
    .runhams-nav-menu {
        display: none;
    }

    /* ==========================================
       MOBILE OVERLAY MENU
       ========================================== */

    .runhams-mobile-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #2b2b2b;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .runhams-mobile-nav.active {
        display: flex;
        opacity: 1;
    }

    .runhams-mobile-nav-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100%;
        padding: 5rem 2rem 3rem;
        gap: 2.5rem;
    }

    /* Links */
    .runhams-mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .runhams-mobile-nav-links li {
        margin: 0.375rem 0;
    }

    .runhams-mobile-nav-links li a {
        text-decoration: none;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.375rem;
        font-weight: 400;
        padding: 0.625rem 1rem;
        display: inline-block;
        border-radius: 4px;
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    .runhams-mobile-nav-links li a:hover {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.06);
    }

    /* Mobile CTA */
    .runhams-mobile-nav-cta {
        background-color: #d90f0f !important;
        color: #fff !important;
        padding: 0.75rem 2rem !important;
        font-weight: 600 !important;
        font-size: 1.125rem !important;
        border-radius: 4px !important;
        margin-top: 0.5rem;
        transition: background-color 0.3s ease, transform 0.2s ease !important;
    }

    .runhams-mobile-nav-cta:hover {
        background-color: #b50d0d !important;
        transform: translateY(-1px);
    }

    /* Footer Contact Info */
    .runhams-mobile-nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 300px;
    }

    .runhams-mobile-nav-phone {
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s ease;
    }

    .runhams-mobile-nav-phone:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    .runhams-mobile-nav-phone i {
        color: #d90f0f;
        font-size: 0.875rem;
    }

    .runhams-mobile-nav-email {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-size: 0.8125rem;
        font-weight: 400;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s ease;
    }

    .runhams-mobile-nav-email:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    .runhams-mobile-nav-email i {
        color: #d90f0f;
        font-size: 0.8125rem;
    }

    .runhams-mobile-nav-social {
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s ease;
    }

    .runhams-mobile-nav-social:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    .runhams-mobile-nav-social i {
        color: #d90f0f;
        font-size: 1rem;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ========================================== */

@media screen and (max-width: 480px) {

    .runhams-nav {
        padding: 0 1rem;
    }

    .runhams-nav-inner {
        height: 64px;
    }

    .runhams-nav-logo img {
        height: 46px;
    }

    .runhams-mobile-nav-body {
        padding: 4.5rem 1.5rem 2.5rem;
        gap: 2rem;
    }

    .runhams-mobile-nav-links li a {
        font-size: 1.25rem;
        padding: 0.5rem 0.75rem;
    }

    .runhams-mobile-nav-cta {
        font-size: 1rem !important;
        padding: 0.7rem 1.75rem !important;
    }

    .runhams-mobile-nav-phone {
        font-size: 0.9375rem;
    }

    .runhams-mobile-nav-email {
        font-size: 0.75rem;
    }

    .runhams-mobile-nav-social {
        font-size: 0.9375rem;
    }
}


/* ==========================================
   RUNHAMS DECORATING - FOOTER
   4-column layout, mobile separators
   ========================================== */


/* ==========================================
   FOOTER WRAPPER
   ========================================== */

.runhams-footer {
    background-color: #2b2b2b;
    color: #fff;
    font-family: 'Overpass', sans-serif;
    padding: 4rem 2rem 0;
}

.runhams-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

/* ==========================================
   COLUMNS - SHARED
   ========================================== */

.runhams-footer-col {
    display: flex;
    flex-direction: column;
}

/* ==========================================
   COLUMN 1: BRAND
   ========================================== */

.runhams-footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.runhams-footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

/* Social Row */
.runhams-footer-social-row {
    display: flex;
    gap: 0.75rem;
}

.runhams-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.runhams-footer-social-link:hover {
    background-color: #d90f0f;
    border-color: #d90f0f;
    color: #fff;
}

/* ==========================================
   COLUMN HEADINGS
   ========================================== */

.runhams-footer-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.runhams-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background-color: #d90f0f;
}

/* ==========================================
   LINK LISTS
   ========================================== */

.runhams-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.runhams-footer-links li {
    margin-bottom: 0.625rem;
}

.runhams-footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
}

.runhams-footer-links li a:hover {
    color: #fff;
}

/* ==========================================
   CONTACT LIST
   ========================================== */

.runhams-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.runhams-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.runhams-footer-contact li i {
    color: #d90f0f;
    font-size: 0.8125rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.runhams-footer-contact li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.runhams-footer-contact li a:hover {
    color: #fff;
}

.runhams-footer-contact li span {
    font-weight: 400;
}

/* ==========================================
   BOTTOM BAR
   ========================================== */

.runhams-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.runhams-footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.runhams-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.runhams-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.runhams-footer-bottom-links a:hover {
    color: #fff;
}

.runhams-footer-bottom-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

/* ==========================================
   RESPONSIVE - TABLET (1024px)
   ========================================== */

@media (max-width: 1024px) {

    .runhams-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    .runhams-footer-brand {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   ========================================== */

@media (max-width: 768px) {

    .runhams-footer {
        padding: 3rem 1.5rem 0;
    }

    .runhams-footer-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 0;
    }

    /* Brand column */
    .runhams-footer-brand {
        text-align: center;
        align-items: center;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .runhams-footer-social-row {
        justify-content: center;
    }

    /* Standard columns on mobile */
    .runhams-footer-col {
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        align-items: center;
    }

    /* Remove border from last column */
    .runhams-footer-col:last-child {
        border-bottom: none;
        padding-bottom: 2rem;
    }

    /* Centre the heading underline on mobile */
    .runhams-footer-heading {
        display: inline-block;
    }

    .runhams-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Centre contact items */
    .runhams-footer-contact li {
        justify-content: center;
    }

    /* Bottom bar stacked */
    .runhams-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.25rem 0;
    }

    .runhams-footer-bottom-links {
        justify-content: center;
    }

    .runhams-footer-logo-text {
        font-size: 1.125rem;
    }

    .runhams-footer-tagline {
        font-size: 0.8125rem;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ========================================== */

@media (max-width: 480px) {

    .runhams-footer {
        padding: 2.5rem 1rem 0;
    }

    .runhams-footer-col {
        padding: 1.25rem 0;
    }

    .runhams-footer-heading {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .runhams-footer-links li a,
    .runhams-footer-contact li,
    .runhams-footer-contact li a {
        font-size: 0.8125rem;
    }

    .runhams-footer-bottom p,
    .runhams-footer-bottom-links a,
    .runhams-footer-bottom-sep {
        font-size: 0.6875rem;
    }
}

/* WhatConverts — hide tracking code container */
#what-converts-code,
#what-converts-code * {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    visibility: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* ==========================================
   ENHANCED DBS VERIFIED BADGE (shared)
   seal = corner overlay (parent needs position:relative);
   inline = centred in normal flow.
   ========================================== */
.runhams-dbs { display: block; width: fit-content; transition: opacity 0.2s ease; }
.runhams-dbs:hover { opacity: 0.85; }
a.runhams-dbs img { display: block; width: auto; height: 100px; border-radius: 0; box-shadow: none; }
.runhams-dbs-seal { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 3; }
.runhams-dbs-inline { margin: 2.5rem auto 0; }
@media (max-width: 768px) { a.runhams-dbs img { height: 82px; } }
@media (max-width: 480px) { a.runhams-dbs img { height: 70px; } .runhams-dbs-seal { right: 0.75rem; bottom: 0.75rem; } }

/* DBS badge — slim-hero bottom-right corner */
.runhams-dbs-hero { position: absolute; right: 2rem; bottom: 2rem; z-index: 3; }
@media (max-width: 768px) { .runhams-dbs-hero { right: 1.25rem; bottom: 1.25rem; } }
@media (max-width: 480px) { .runhams-dbs-hero { right: 1rem; bottom: 1rem; } }
