/*
Theme Name: Parity Theme
Theme URI: https://parity.ovstaging.com
Description: Custom theme for Parity Chambers
Author: Overture
Version: 1.0.24
Text Domain: parity-theme
*/

/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Lexend Zetta';
    src: url('/fonts/LexendZetta-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/fonts/WorkSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/fonts/WorkSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/fonts/WorkSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/fonts/WorkSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/fonts/WorkSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==================== Site wordmark: single-line P A R I T Y (Lexend Zetta) ==================== */
.parity-logo-lockup {
    display: inline-block;
    align-self: flex-start;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Lexend Zetta', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: inherit;
    letter-spacing: -0.1em;
    line-height: 1.08;
}

.parity-logo-lockup .parity-logo-line--primary {
    display: block;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
}

/* ==================== BURGER MENU ==================== */
.burger-menu {
    position: fixed;
    top: 40px;
    right: 50px;
    z-index: 1000;
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* White burger menu on homepage */
.home .burger-menu span {
    background: #ffffff;
}

/* Dark burger menu when over light background */
.home .burger-menu.dark span {
    background: #1a1a1a;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.burger-menu.active span {
    background: #ffffff;
}

/* ==================== MENU OVERLAY ==================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay .menu-logo.parity-logo-lockup {
    position: absolute;
    top: 60px;
    left: 60px;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
}

.menu-overlay nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.menu-overlay nav ul li {
    margin-bottom: 20px;
}

.menu-overlay nav ul li a {
    font-family: 'Lexend Zetta', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.1em;
    transition: opacity 0.3s ease;
}

.menu-overlay nav ul li a:hover {
    opacity: 0.5;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #3d3d3d;
    color: #ffffff;
    width: 100%;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    position: relative;
}

.footer-top {
    padding: 50px 80px 40px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.footer-column {
    flex: 1;
}

.footer-logo.parity-logo-lockup {
    font-size: 24px !important;
    color: #ffffff;
    text-decoration: none;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-bottom: 12px;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
}

.footer-column p {
    font-size: 12px;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1em;
}

.footer-address {
    margin-top: 24px;
}

.footer-address-label {
    opacity: 0.8;
    margin-bottom: 12px !important;
    font-weight: 600;
    font-size: 16px !important;
}

.footer-column .google-maps {
    color: #ffffff;
    opacity: 0.8;
}

.footer-column .google-maps::before {
    content: '+';
    margin-right: 6px;
}

.footer-regulation {
    margin-top: 20px;
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.4;
}

.footer-legal {
    margin-top: 60px;
}

.footer-legal p {
    opacity: 0.8;
}

.footer-powered-by {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.2;
    justify-content: flex-end;
    width: 100%;
}

.footer-powered-by-label {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.75;
    white-space: nowrap;
}

.footer-overture-logo {
    display: inline-block;
    text-decoration: none;
    border: none;
    line-height: 0;
}

.footer-overture-logo img {
    height: 14px;
    width: auto;
    display: block;
    vertical-align: middle;
}

.footer-overture-logo:hover img {
    opacity: 0.85;
}

/* Global strip: Brand and website by Overture (wp_footer hook — all pages) */
.parity-footer-overture-strip {
    background: #3d3d3d;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 80px;
    width: 100%;
    box-sizing: border-box;
}

.parity-footer-overture-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.parity-footer-overture-strip .footer-powered-by {
    margin: 0;
}

body.single-post-type-person .parity-footer-overture-strip {
    background: #1a1a1a;
}

body.single-post-type-person .parity-footer-overture-strip .footer-powered-by-label {
    color: #888;
}

@media (max-width: 768px) {
    .parity-footer-overture-strip {
        padding: 12px 30px;
    }

    .parity-footer-overture-inner {
        justify-content: flex-start;
    }
}

.footer-contact-label {
    opacity: 0.8;
    margin-bottom: 12px !important;
    font-weight: 600;
    font-size: 16px !important;
}

.footer-social-icons {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.footer-social-icons a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    color: #3d3d3d;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 0 !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social-icons a svg {
    width: 14px;
    height: 14px;
    fill: #3d3d3d;
}

.footer-social-icons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.footer-column-right {
    text-align: right;
    align-self: flex-start;
}

.footer-column-right .footer-logo {
    margin-bottom: 20px;
}

.footer-column-right .footer-social-icons {
    justify-content: flex-end;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        padding: 40px 30px 30px;
        gap: 40px;
    }

    .footer-column-right {
        text-align: left;
    }

    .footer-powered-by {
        justify-content: flex-start;
    }

    .footer-column-right .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-column a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        display: block;
        margin-bottom: 12px;
        transition: opacity 0.3s ease;
    }

    .footer-column p {
        font-size: 16px;
    }
}

/* Hero Styles */
.hero-description {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1.7;
    color: #1a1a1a;
    display: inline;
}

.hero-label {
    color: #c85a38;
    font-size: 25px;
    font-weight: 400;
    text-decoration: none;
    display: inline;
}

.hero-label a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-description {
        text-align: left;
    }

    .hero-label {
        font-size: 24px;
    }

    p, .hero-description {
        text-align: justify;
    }

    .hero-description {
        text-align: left;
    }
}
