/*
Theme Name: Whatsnew Raw
Theme URI: https://dev.snworks.com/whatsnew/wp-content/themes/whatsnew
Author: Synergy Web Design and Marketing - Lora Champion
Author URI: https://snwebdm.com/
Description: This theme works best with Elementor, although you can also use blocks with it (remove bottom section from functions.php to enable block editor). Recommended plugins: Elementor, Yoast, Contact7, woocommerce, ultimate member
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, block-styles, wide-blocks
Version: 1:012422
Requires at least: 5.0
Tested up to: 5.8.3
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whatsnew-raw
This theme, like WordPress, is licensed under the GPL.
Tested up to: 5.8
Requires PHP: 7.0
*/

:root {
    /* Coastal Clarity — brand palette */
    --primary-bs: #00396e;
    --on-primary-bs: #ffffff;
    --primary-container-bs: #0d5093;
    --on-primary-container-bs: #9ec4ff;
    --secondary-bs: #00658d;
    --on-secondary-bs: #ffffff;
    --secondary-container-bs: #89d2ff;
    --on-secondary-container-bs: #005a7e;
    --tertiary-bs: #3e382f;
    --on-tertiary-bs: #ffffff;
    --tertiary-container-bs: #554f45;
    --on-tertiary-container-bs: #cac1b4;
    --deep-ocean-bs: #08335e;
    --sand-bleached-bs: #faf7f2;
    --crisp-white-bs: #ffffff;
    --background-bs: #f9f9f9;
    --on-background-bs: #1a1c1c;
    --on-surface-bs: #1a1c1c;
    --on-surface-variant-bs: #424750;
    --outline-bs: #727782;
    --outline-variant-bs: #c2c6d2;
    --surface-bs: #f9f9f9;
    --surface-container-bs: #eeeeee;
    --error-bs: #ba1a1a;
    --surface-header-bs: rgba(255, 255, 255, 0.98);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--outline-variant-bs);
    box-shadow: 0 1px 3px rgba(0, 57, 110, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
}

.site-header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.site-header__logo-text {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-ocean-bs);
}

.site-header__logo {
    flex-shrink: 0;
}

.site-header__menu,
.site-header__menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu a {
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--deep-ocean-bs);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__menu a:hover,
.site-header__menu .current-menu-item > a,
.site-header__menu .current_page_item > a {
    color: var(--secondary-bs);
    border-bottom-color: var(--secondary-bs);
}

.site-header__overlay {
    display: none;
}

.site-header__close {
    display: none;
}

.site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--outline-variant-bs);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--deep-ocean-bs);
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 80;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

.site-header__toggle-svg {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    pointer-events: none;
}

.site-header__toggle-svg--close {
    display: none;
}

.site-header.is-open .site-header__toggle-svg--menu {
    display: none;
}

.site-header.is-open .site-header__toggle-svg--close {
    display: block;
}

/* Desktop */
@media (min-width: 1501px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .site-header__logo {
        grid-column: 1;
        justify-self: start;
    }

    .site-header__nav {
        grid-column: 2;
        justify-self: center;
        display: flex;
        justify-content: center;
    }

    .site-header__toggle {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 1500px) {
    .site-header__inner {
        display: flex;
    }

    .site-header__inner > .site-header__nav {
        display: none;
    }

    .site-header__toggle {
        display: flex;
    }

    /* Nav & overlay teleported to <body> — see .site-header--mobile-ready below */
    body.site-header--mobile-ready .site-header__overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(8, 51, 94, 0.35);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    body.site-header--mobile-ready.site-header--menu-open .site-header__overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.site-header--mobile-ready .site-header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        box-sizing: border-box;
        padding: 72px 32px 32px;
        margin: 0;
        background: var(--surface-header-bs);
        border-left: 1px solid var(--outline-variant-bs);
        box-shadow: -8px 0 32px rgba(0, 57, 110, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        pointer-events: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.site-header--mobile-ready.site-header--menu-open .site-header__nav {
        transform: translateX(0);
        pointer-events: auto;
    }

    body.site-header--mobile-ready .site-header__menu,
    body.site-header--mobile-ready .site-header__menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
    }

    body.site-header--mobile-ready .site-header__menu a {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 14px;
        color: var(--deep-ocean-bs);
        border-bottom: none;
    }

    body.site-header--mobile-ready .site-header__menu a:hover {
        color: var(--deep-ocean-bs);
        border-bottom-color: transparent;
    }

    body.site-header--mobile-ready .site-header__menu .current-menu-item > a,
    body.site-header--mobile-ready .site-header__menu .current_page_item > a,
    body.site-header--mobile-ready .site-header__menu .current-menu-ancestor > a,
    body.site-header--mobile-ready .site-header__menu li.current-menu-item a,
    body.site-header--mobile-ready .site-header__menu li.current_page_item a {
        color: var(--secondary-bs) !important;
        border-bottom-color: transparent;
    }

    body.site-header--mobile-ready .site-header__close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--outline-variant-bs);
        border-radius: 0.5rem;
        background: transparent;
        color: var(--deep-ocean-bs);
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 1;
    }

    body.site-header--mobile-ready .site-header__close span {
        display: block;
        margin-top: -2px;
    }

    body.site-header--mobile-ready .site-header__close:hover {
        background: rgba(0, 57, 110, 0.06);
        color: var(--secondary-bs);
    }
}

.site-footer {
    background: var(--primary-bs);
    color: var(--sand-bleached-bs);
}

.site-footer__main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 64px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.site-footer__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: var(--sand-bleached-bs);
    margin: 0 0 24px;
}

.site-footer__address {
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
    color: rgba(250, 247, 242, 0.6);
    margin: 0 0 24px;
}

.site-footer__phone {
    color: var(--secondary-container-bs);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer__phone:hover {
    opacity: 0.85;
    color: var(--secondary-container-bs);
}

.site-footer__social {
    display: flex;
    gap: 16px;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(250, 247, 242, 0.1);
    color: var(--sand-bleached-bs);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-footer__social-link:hover {
    background: var(--secondary-bs);
    color: var(--sand-bleached-bs);
}

.site-footer__heading {
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-bleached-bs);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(250, 247, 242, 0.2);
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__nav a {
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: rgba(250, 247, 242, 0.8);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__nav a:hover {
    color: var(--sand-bleached-bs);
    transform: translateX(4px);
}

.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.site-footer__badge-img {
    height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.site-footer__bottom {
    border-top: 1px solid rgba(250, 247, 242, 0.1);
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 32px;
    text-align: center;
}

.site-footer__copyright {
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: rgba(250, 247, 242, 0.4);
    margin: 0;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 64px 48px;
    }

    .site-footer__brand {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 80px 48px;
    }

    .site-footer__brand {
        grid-column: auto;
    }
}

/* Form */
.wpcf7 .form-control {
  border-radius: 3px;
  box-shadow: none;
}

.wpcf7 .btn {
  border-radius: 3;
  background: #00315F;
  color: #fff;
}

.wpcf7 .btn:hover {
  background: #6BB4E0;
  color: #fff;
}

.wpcf7 textarea.form-control {
  min-height: 140px;
}