/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
}

/* WordPress Admin Bar Fixes */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.header-logo img,
.wp-block-site-logo img,
.custom-logo,
.logo-img {
    height: 4rem !important;
    max-height: 64px !important;
    width: auto !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-text-color);
    font-weight: 500;
    transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-btn,
.btn-mobile-toggle {
    display: flex;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 150ms;
    color: var(--dark-text-color);
    font-size: 1.5rem;
}

.mobile-menu-btn:hover,
.btn-mobile-toggle:hover {
    background-color: var(--light-background-color);
}

.mobile-nav,
.mobile-menu {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid var(--light-border-color);
}

.mobile-nav.is-open,
.mobile-menu.is-open {
    display: block;
}

.mobile-nav-inner,
.mobile-menu-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link,
.nav-link-mobile {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-text-color);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 150ms;
}

.mobile-nav-link:hover,
.nav-link-mobile:hover {
    background-color: var(--light-background-color);
}

.mobile-nav-cta {
    display: block;
    padding: 0.75rem 1rem;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.5rem;
    text-align: center;
    transition: background-color 150ms;
}

.mobile-nav-cta:hover {
    background-color: var(--primary-button-hover-bg-color);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--dark-background-color);
    color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.logo-img-footer {
    height: 4rem !important;
    width: auto !important;
    margin-bottom: 1.5rem;
    transition: transform 300ms ease;
    display: block;
}

.logo-img-footer:hover {
    transform: scale(1.05);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms;
}

.social-link:hover {
    background-color: var(--primary-color);
}

.footer-links,
.footer-list,
.footer-links ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
}

.footer-col {
    text-align: left !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 150ms;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.contact-item i,
.contact-item svg,
.contact-item path {
    color: var(--accent3-color) !important;
    fill: var(--accent3-color) !important;
    flex-shrink: 0;
    width: 1.25rem !important;
    height: 1.25rem !important;
    text-align: center;
    margin-top: 0.25rem;
}

.contact-text,
.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 150ms;
}

.contact-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom,
.footer-bottom-inner,
.footer-bottom .wp-block-group,
.footer-bottom>* {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    width: 100% !important;
    max-width: 100% !important;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal,
.legal-links-wrap {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    align-items: center;
    justify-content: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 150ms;
}

.legal-link:hover {
    color: #ffffff;
}

/* ===== RESPONSIVE LAYOUT ===== */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 768px) {

    .footer-bottom,
    .footer-bottom-inner,
    .footer-bottom .wp-block-group,
    .footer-bottom>* {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn,
    .btn-mobile-toggle,
    .nav-link-mobile,
    .mobile-nav,
    .mobile-menu {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr !important;
    }
}