/* DecoSign layout shell — adapted from Doculand/Printshop template */

#page {
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    position: relative;
    z-index: 99999;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 15px;
    max-width: 1320px;
    margin: 0 auto;
}

.menu-logo {
    background: #fff;
    flex-shrink: 0;
}

.menu-logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.header-right-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

#main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#main-nav li {
    position: relative;
}

#menu-toggle {
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    display: none;
}

#menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #111827;
    border-radius: 5px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 9998;
}

body.is-nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

#main-nav .nav-close {
    background: transparent;
    border: 0;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 14px;
    color: #111827;
    display: block;
    z-index: 5;
}

#masthead,
.menu-container {
    overflow: visible !important;
}

/* Desktop nav */
@media (min-width: 1100px) {
    #menu-toggle,
    .nav-overlay,
    #main-nav .nav-close {
        display: none !important;
    }

    nav#main-nav.main-nav {
        position: static !important;
        transform: none !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    nav#main-nav > ul.nav-menu {
        display: flex !important;
        gap: 24px !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    nav#main-nav > ul.nav-menu > li {
        position: relative !important;
    }

    nav#main-nav > ul.nav-menu > li > a {
        display: block !important;
        padding: 8px 0 !important;
        color: #111827 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        font-size: 15px;
        transition: color 0.2s ease;
    }

    nav#main-nav > ul.nav-menu > li > a:hover,
    nav#main-nav > ul.nav-menu > li.current-menu-item > a {
        color: #e91e63 !important;
    }

    nav#main-nav .sub-menu {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        min-width: 200px !important;
        padding: 10px !important;
        margin: 0 !important;
        background: #fff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
        border-radius: 12px !important;
        z-index: 999999 !important;
    }

    nav#main-nav li:hover > .sub-menu {
        display: block !important;
    }

    nav#main-nav .sub-menu li a {
        display: block !important;
        padding: 10px 14px !important;
        color: #374151 !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        border-radius: 8px;
    }

    nav#main-nav .sub-menu li a:hover {
        background: #f3f4f6 !important;
        color: #e91e63 !important;
    }
}

/* Mobile nav */
@media (max-width: 1099.98px) {
    #menu-toggle {
        display: flex !important;
    }

    nav#main-nav.main-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 320px !important;
        max-width: 88vw !important;
        height: 100vh !important;
        padding: 56px 18px 18px !important;
        transform: translateX(-105%) !important;
        transition: 0.25s ease !important;
        overflow-y: auto !important;
        background: #fff !important;
        box-shadow: 3px 0 18px rgba(0, 0, 0, 0.18) !important;
        z-index: 999999 !important;
    }

    body.is-nav-open nav#main-nav.main-nav {
        transform: translateX(0) !important;
    }

    nav#main-nav ul.nav-menu,
    nav#main-nav ul.nav-menu li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    nav#main-nav ul.nav-menu > li {
        border-bottom: 1px solid #e5e7eb !important;
        position: relative !important;
        padding-right: 42px !important;
    }

    nav#main-nav a {
        display: block !important;
        padding: 14px 0 !important;
        color: #111827 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    nav#main-nav .sub-menu {
        display: none !important;
        padding: 8px 0 14px !important;
    }

    nav#main-nav li.is-open > .sub-menu {
        display: block !important;
    }

    nav#main-nav .sub-menu li a {
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: #f3f4f6 !important;
        border: 1px solid #e5e7eb !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        margin: 6px 0 !important;
    }
}

/* Content */
#content.site-content {
    width: 100%;
}

/* Footer */
.site-footer {
    padding: 0;
    background: #1a1a1a;
    color: #666;
    font-size: 14px;
}

.site-footer a {
    color: #ddd;
    text-decoration: none;
}

.site-footer a:hover {
    color: #e91e63;
}

.site-footer .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-footer .footer-columns {
    padding: 35px 0 25px;
}

.site-footer .footer-columns::after {
    content: "";
    display: table;
    clear: both;
}

.footer-3-columns .footer-column {
    width: 100%;
    margin-bottom: 24px;
}

@media screen and (min-width: 1100px) {
    .footer-3-columns .footer-column {
        width: 30.62331%;
        float: left;
        margin-right: 4.06504%;
        margin-bottom: 0;
    }

    .footer-3-columns .footer-3 {
        margin-right: 0;
    }
}

.site-footer .widget-title {
    font-size: 16px;
    text-transform: uppercase;
    margin: 0 0 20px;
    font-weight: 500;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    color: #fff;
}

.site-footer .widget-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #e91e63;
    margin-top: 10px;
}

.site-footer .textwidget p {
    line-height: 1.8;
    margin: 0;
}

.site-footer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .menu li {
    padding: 0 0 8px;
}

.site-footer .menu li a {
    color: #999;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer .menu li a:hover {
    color: #e91e63;
    padding-left: 8px;
}

.site-info-wrapper {
    border-top: 1px solid #333;
    padding: 20px 0;
}

.site-info-wrapper .footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer .social-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.site-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 50%;
    color: #ccc;
    transition: all 0.2s ease;
}

.site-footer .social-links a:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.copyright-text {
    color: #888;
    font-size: 14px;
}

.copyright-text p {
    margin: 0 0 5px;
}

.zaid-signature-link {
    color: #e91e63;
    font-weight: 600;
    text-decoration: none;
}

.zaid-signature-link:hover {
    text-decoration: underline;
}

/* Back to top */
#btt {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    background: #e91e63;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
}

#btt.is-visible {
    opacity: 1;
    visibility: visible;
}

#btt a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
