:root {
    --yuva-navy: #10193a;
    --yuva-gold: #c9a24a;
    --yuva-gold-soft: #e7d3a0;
    --yuva-cream: #f7f2e8;
    --yuva-cream-strong: #fbf7ee;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--yuva-cream);
    color: #0f172a;
}

.font-display {
    font-family: "Space Grotesk", sans-serif;
}

.yuva-header-nav,
.yuva-mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.yuva-header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.yuva-header-nav > li > a {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.yuva-header-nav > li > a:hover,
.yuva-header-nav > li.current-menu-item > a,
.yuva-header-nav > li.current_page_item > a {
    background: rgba(16, 25, 58, 0.08);
    color: var(--yuva-navy);
    transform: translateY(-1px);
}

.yuva-mobile-nav {
    position: relative;
}

.yuva-mobile-nav-panel {
    position: fixed;
    inset: 0;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100000;
    background: #ffffff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.yuva-mobile-nav-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.yuva-mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: #ffffff;
}

.yuva-mobile-nav-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    min-height: 100dvh;
    height: 100dvh;
    width: 100vw;
    flex-direction: column;
    background: #ffffff;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 240ms ease;
}

.yuva-mobile-nav-panel.is-open .yuva-mobile-nav-drawer {
    transform: translateX(0);
}

.yuva-mobile-menu {
    display: grid;
    gap: 0.35rem;
}

.yuva-mobile-menu li a {
    display: block;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: var(--yuva-cream-strong);
    color: var(--yuva-navy);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.yuva-mobile-menu li a:hover,
.yuva-mobile-menu li.current-menu-item a,
.yuva-mobile-menu li.current_page_item a {
    background: #f3e7c5;
    transform: translateX(2px);
}

html.yuva-mobile-nav-open,
body.yuva-mobile-nav-open {
    overflow: hidden;
}

.admin-bar .yuva-site-header {
    top: 32px;
}

.pt-32 {
    padding-top: 1rem !important;
}

.pt-16 {
    padding-top: 1rem !important;
}

@media (max-width: 782px) {
    .admin-bar .yuva-site-header {
        top: 46px;
    }

    .py-20 {
        padding-top: 2rem !important;
        padding-bottom: 5rem !important;
    }
}

.yuva-gallery-thumb {
    border-color: rgba(16, 25, 58, 0.1);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.yuva-gallery-thumb img {
    transition: transform 240ms ease;
}

.yuva-gallery-thumb:hover img,
.yuva-gallery-thumb.is-active img {
    transform: scale(1.04);
}

.yuva-gallery-thumb.is-active {
    border-color: rgba(201, 162, 74, 0.9);
    box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.3), 0 18px 45px rgba(16, 25, 58, 0.1);
    transform: translateY(-1px);
}

.yuva-gallery-lightbox[hidden] {
    display: none !important;
}

.yuva-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    background: rgba(16, 25, 58, 0.96) !important;
}

html.yuva-lightbox-open,
body.yuva-lightbox-open {
    overflow: hidden;
}

body.yuva-lightbox-open .yuva-site-header {
    z-index: 20;
}
