/* navbar.css */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background .4s, box-shadow .4s, padding .4s;
    background: transparent;
    padding: 22px 0;
}

#navbar.sticky {
    background: #fff;
    box-shadow: 0 2px 24px rgba(28, 25, 23, .1);
    padding: 0;
}

.nav-inner {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 36px;
    height: 72px;
    gap: 20px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    /* border-radius: 16px; */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.18rem;
    color: #fff;
    transition: color .4s;
}

.logo-tagline {
    font-size: .53rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    transition: color .4s;
}

#navbar.sticky .logo-name {
    color: var(--charcoal);
}

#navbar.sticky .logo-tagline {
    color: var(--light);
}

.nav-spacer {
    flex: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1px;
    list-style: none;
    padding: 5px 6px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    /* letter-spacing: .06em; */
    /* text-transform: uppercase; */
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .2s, background .2s;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--gold);
    background: rgba(245, 166, 35, .14);
}

#navbar.sticky .nav-links a {
    color: var(--mid);
}

#navbar.sticky .nav-links a.active,
#navbar.sticky .nav-links a:hover {
    color: var(--gold-dk);
    background: rgba(245, 166, 35, .1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s;
}

.nav-phone:hover {
    color: var(--gold);
}

#navbar.sticky .nav-phone {
    color: var(--mid);
}

#navbar.sticky .nav-phone:hover {
    color: var(--gold-dk);
}

.ph-ring {
    width: 30px;
    height: 30px;
    background: rgba(245, 166, 35, .2);
    border: 1px solid rgba(245, 166, 35, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.btn-quote {
    padding: 12px 24px;
    background: var(--gold);
    color: var(--charcoal);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    border: none;
    /* border-radius: 11px; */
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(245, 166, 35, .35);
    transition: background .25s, transform .2s, box-shadow .25s;
}

.btn-quote:hover {
    background: var(--gold-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 166, 35, .45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: background .4s;
}

#navbar.sticky .hamburger span {
    background: var(--charcoal);
}

.mob-menu {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, .97);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.mob-menu.open {
    transform: translateX(0);
}

.mob-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .2s;
}

.mob-menu a:hover {
    color: var(--gold);
}

.mob-close {
    position: absolute;
    top: 26px;
    right: 26px;
    font-size: 26px;
    cursor: pointer;
    color: rgba(255, 255, 255, .4);
    background: none;
    border: none;
}

@media (max-width:1100px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width:640px) {
    #navbar {
        padding: 12px 0;
    }

    .nav-inner {
        padding: 0 20px;
        height: 60px;
    }

    .logo-tagline {
        display: none;
    }

    .nav-actions .nav-phone {
        display: none;
    }
}

/* Constrain custom logo size */
.custom-logo-link .custom-logo {
    width: 100px;
    height: 68px;
}

.custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}