/* Shared homepage site chrome extracted from service-page.css */
/* Shared header: service and CMS pages */
body:not(.homepage-preview) .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
body:not(.homepage-preview) .site-header .main-header {
    min-height: 90px;
    background: #ffffff !important;
}
body:not(.homepage-preview) .site-header .primary-navigation a:not(.consultation-link) {
    color: #273253 !important;
}
body:not(.homepage-preview) .site-header .primary-navigation a:not(.consultation-link):hover {
    color: #a8792a !important;
}
body:not(.homepage-preview) .site-header .primary-navigation a.consultation-link {
    background: #273253 !important;
    color: #ffffff !important;
}
body:not(.homepage-preview) .site-header .menu-toggle {
    color: #273253;
}
@media (max-width: 900px) {
    body:not(.homepage-preview) .site-header .primary-navigation.is-open {
        background: #ffffff !important;
    }
}
/* Shared Kush Architects Footer */
.site-footer {
    padding: 55px 5% 0;
    background: #273253;
    color: #ffffff;
}
.site-footer-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr;
    gap: 35px;
}
.site-footer-brand img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 4px;
}
.site-footer p {
    margin: 0 0 14px;
    color: #e5e8f0;
    font-size: 14px;
    line-height: 1.8;
}
.site-footer h3 {
    margin: 0 0 20px;
    color: #e2c66f;
    font-size: 17px;
    line-height: 1.4;
}
.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer li {
    margin-bottom: 12px;
}
.site-footer a {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.site-footer a:hover {
    color: #e2c66f;
    text-decoration: underline;
}
.site-footer-bottom {
    max-width: 1400px;
    margin: 35px auto 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}
.site-footer-bottom p {
    margin: 0;
    font-size: 13px;
}
@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}
@media (max-width: 550px) {
    .site-footer {
        padding: 40px 22px 0;
    }
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer-bottom {
        margin-top: 25px;
    }
}
/* Footer contact and social links */
.site-footer-social .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.site-footer-social .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.site-footer-social .social-links a:hover {
    background: #e2c66f;
    color: #273253;
    text-decoration: none;
}
/* Fixed Floating WhatsApp Button - Right Side */
.floating-whatsapp {
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    left: auto !important;
    top: auto !important;
    z-index: 99999 !important;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
}
.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}
.floating-whatsapp:hover {
    background: #1da851;
    transform: scale(1.08);
}
@media (max-width: 550px) {
    .floating-whatsapp {
        right: 16px !important;
        bottom: 20px !important;
        width: 54px;
        height: 54px;
    }
}
/* Top contact bar */
.site-header .header-contact {
    width: 100%;
    padding: 14px 5%;
    background: #273253;
    color: #fff;
    box-sizing: border-box;
}
.site-header .header-contact-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}
.site-header .header-contact-inner a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}
.site-header .header-contact-inner a:hover {
    color: #e2c66f;
}
@media (max-width: 600px) {
    .site-header .header-contact-inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 14px;
    }
    .site-header .header-contact-inner a {
        font-size: 12px;
    }
}

/* =========================================================
   KUSH ARCHITECTS — CONSISTENT NORMAL TEXT HYPERLINKS
   Add at the END of site-shared.css.
   Buttons, navigation, breadcrumbs, footer and floating CTAs
   are intentionally excluded/preserved.
   ========================================================= */

/* Normal text links inside page content */
main p a:not(.btn):not([class*="button"]):not(.about-quick-link):not(.homepage-intro-content__link),
main li a:not(.btn):not([class*="button"]):not(.about-quick-link):not(.homepage-intro-content__link),
.service-content-section .service-description a,
.article-content a:not(.btn):not([class*="button"]),
.article-wrapper > a:not(.btn):not([class*="button"]),
.post-title a,
.home-blog-content h3 a {
    color: #273253;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

/* Hover and keyboard focus */
main p a:not(.btn):not([class*="button"]):not(.about-quick-link):not(.homepage-intro-content__link):hover,
main li a:not(.btn):not([class*="button"]):not(.about-quick-link):not(.homepage-intro-content__link):hover,
.service-content-section .service-description a:hover,
.article-content a:not(.btn):not([class*="button"]):hover,
.article-wrapper > a:not(.btn):not([class*="button"]):hover,
.post-title a:hover,
.home-blog-content h3 a:hover {
    color: #a8792a;
    text-decoration: none;
}

main p a:not(.btn):not([class*="button"]):not(.about-quick-link):not(.homepage-intro-content__link):focus-visible,
main li a:not(.btn):not([class*="button"]):not(.about-quick-link):not(.homepage-intro-content__link):focus-visible,
.service-content-section .service-description a:focus-visible,
.article-content a:not(.btn):not([class*="button"]):focus-visible,
.article-wrapper > a:not(.btn):not([class*="button"]):focus-visible,
.post-title a:focus-visible,
.home-blog-content h3 a:focus-visible {
    outline: 2px solid #273253;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Keep breadcrumb links white/inherited on their designed backgrounds */
.page-breadcrumb a,
.project-detail-hero .project-breadcrumb a,
.gallery-breadcrumb a,
.blog-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   CUSTOM 404 PAGE - KUSH ARCHITECTS
======================================== */

.custom-404-page {
    width: 100%;
}

.error-404-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    overflow: hidden;
    background:
        linear-gradient(rgba(20, 20, 20, 0.48), rgba(20, 20, 20, 0.48)),
        url("../front/images/404-bg.webp") center center / cover no-repeat;
}

.error-404-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    text-align: center;
    color: #fff;
}

.error-404-number {
    display: block;
    color: #fff;
    font-size: clamp(110px, 17vw, 160px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -5px;
}

.error-404-content h1 {
    margin: 12px 0 16px;
    color: #fff;
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 500;
}

.error-404-content p {
    max-width: 520px;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
}

.error-404-button {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #332b29;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.error-404-button:hover {
    background: #332b29;
    border-color: #332b29;
    color: #fff;
}

@media (max-width: 767px) {
    .error-404-hero {
        min-height: 460px;
        padding: 60px 18px;
    }

    .error-404-number {
        letter-spacing: -3px;
    }

    .error-404-content p {
        font-size: 14px;
    }
}
