/**
 * Archia Navigation - FULLSCREEN ONLY
 * No header bar modifications
 */

/* === FULLSCREEN OVERLAY === */
.archia-custom-header .uicore-navigation-wrapper {
    background: transparent !important;
}
.archia-custom-header .uicore-navigation-wrapper > nav.uicore-container {
    position: absolute;
    top: 0; right: 0; left: auto;
    z-index: 200;
    padding: 20px 40px;
    display: flex;
    justify-content: flex-end;
}
.archia-custom-header .uicore-navigation-wrapper .uicore-branding {
    display: none !important;
}
.archia-custom-header .uicore-navigation-wrapper .uicore-toggle .bar {
    background: #fff !important;
}
.archia-custom-header .uicore-navigation-wrapper .uicore-navigation-content {
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    flex-direction: column !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* === NAV OVERLAY LAYOUT === */
.archia-nav-overlay {
    display: flex !important;
    flex-direction: row !important;
    height: 100vh;
    width: 100%;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .archia-nav-overlay {
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    .archia-panel-left {
        width: 100% !important;
        height: auto !important;
        flex-shrink: 0 !important;
        padding: 24px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        transform: none !important;
    }
    .archia-panel-right {
        flex: 1 !important;
        padding: 24px !important;
        align-items: flex-start !important;
        overflow-y: auto !important;
    }
    .archia-nav-columns {
        grid-template-columns: 1fr !important;
    }
    .archia-panel-bottom-logo {
        display: none !important;
    }
}

/* --- LEFT PANEL --- */
.archia-panel-left {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 36px;
    height: 100vh;
    color: #fff;
    position: relative;
    z-index: 2;
    border-right: 1px solid rgba(255,255,255,0.06);
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.uicore-mobile-nav-show .archia-panel-left {
    transform: translateX(0);
}

.archia-panel-left a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.archia-panel-left a:hover {
    color: var(--uicore-secondary, #C6A15B);
}

/* Logo */
.archia-panel-logo {
    display: none;
}

/* Search */
.archia-search-wrap {
    margin-bottom: 28px;
}
.archia-search-wrap form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 0;
    position: relative;
}
.archia-search-wrap input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 12px 50px 12px 20px;
    width: 100%;
    outline: none;
}
.archia-search-wrap input::placeholder {
    color: rgba(255,255,255,0.4);
}
.archia-search-wrap .archia-search-btn,
.archia-panel-left .archia-search-btn {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    background: #fff !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    min-width: unset !important;
    box-shadow: none !important;
}
.archia-search-wrap .archia-search-btn:hover {
    background: rgba(255,255,255,0.85) !important;
}
.archia-search-wrap .archia-search-btn svg {
    width: 14px;
    height: 14px;
    stroke: #111;
}

/* Language */
.archia-lang-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
}
.archia-lang-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.archia-lang-btn {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    position: relative;
}
.archia-lang-btn.active {
    color: #fff;
}
.archia-lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--uicore-secondary, #C6A15B);
}

/* Contact */
.archia-contact-block {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.archia-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.archia-contact-icon {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.archia-contact-info a {
    font-size: 13px;
    letter-spacing: 0.03em;
}

/* Social - let theme CSS handle it */
.archia-social-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0 0 12px;
}
.archia-social-row {
    display: flex;
    gap: 8px;
}

/* Bottom logo */
.archia-panel-bottom-logo {
    padding-top: 40px;
    margin-top: 40px;
    opacity: 1;
    width: 100%;
    text-align: center;
}
.archia-panel-bottom-logo img {
    max-width: 80px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* --- RIGHT PANEL: MENU --- */
.archia-panel-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    transform: translateX(60px);
    opacity: 0;
    transition: transform 0.55s 0.1s cubic-bezier(0.76, 0, 0.24, 1),
                opacity 0.55s 0.1s cubic-bezier(0.76, 0, 0.24, 1);
}
.uicore-mobile-nav-show .archia-panel-right {
    transform: translateX(0);
    opacity: 1;
}

.archia-nav-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 70px;
    width: 100%;
    max-width: 1000px;
}

/* Nav items */
.archia-nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s, transform 0.4s;
    transition-delay: var(--delay, 0.15s);
}
.uicore-mobile-nav-show .archia-nav-item {
    opacity: 1;
    transform: translateY(0);
}

.archia-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: clamp(20px, 2.5vw, 34px);
    font-weight: 300;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: color 0.25s;
    user-select: none;
    gap: 12px;
}
.archia-nav-link:hover {
    color: var(--uicore-secondary, #C6A15B);
}

.archia-nav-arrow {
    flex-shrink: 0;
    opacity: 0.4;
    font-size: 0.6em;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s;
}
.archia-nav-item:hover .archia-nav-arrow {
    opacity: 1;
}
.archia-nav-item.has-sub.sub-open .archia-nav-arrow {
    transform: rotate(90deg);
    opacity: 1;
}

/* Submenu */
.archia-submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    border-left: 1px solid var(--uicore-secondary, #C6A15B);
    margin-left: 4px;
    background: rgba(255,255,255,0.02);
}
.archia-nav-item.sub-open > .archia-submenu {
    max-height: 400px;
}
.archia-submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: inherit;
    font-size: clamp(13px, 1.2vw, 17px);
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: color 0.2s, padding-left 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.archia-submenu a:last-child {
    border-bottom: none;
}
.archia-submenu a:hover {
    color: var(--uicore-secondary, #C6A15B);
    padding-left: 26px;
}
.archia-submenu a::before {
    content: '—';
    font-size: 10px;
    color: var(--uicore-secondary, #C6A15B);
    opacity: 0.5;
    flex-shrink: 0;
}

/* === RESPONSIVE === */

/* Desktop: force our 2-panel layout regardless of theme breakpoint */
@media (min-width: 769px) {
    .archia-nav-overlay {
        flex-direction: row !important;
    }
    .archia-panel-left {
        width: 350px !important;
        height: 100vh !important;
        transform: translateX(-100%) !important;
        border-right: 1px solid rgba(255,255,255,0.06) !important;
        border-bottom: none !important;
    }
    .uicore-mobile-nav-show .archia-panel-left {
        transform: translateX(0) !important;
    }
    .archia-panel-right {
        padding: 60px 80px !important;
    }
    .archia-nav-columns {
        grid-template-columns: 1fr 1fr !important;
        gap: 0 70px !important;
    }
    .archia-panel-bottom-logo {
        display: block !important;
    }
}

/* === BREADCRUMBS === */
.archia-breadcrumbs {
    max-width: min(95%, 1170px);
    margin: 0 auto;
    padding: 20px 10px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 20px;
    color: var(--uicore-body-color, #444);
}

/* Hide the original breadcrumb in page title (we show it in our location) */
.uicore-page-title .ui-breadcrumb {
    display: none !important;
}

/* Separator style */
.archia-breadcrumbs .archia-bc-sep {
    margin: 0 6px;
    opacity: 0.4;
}
.archia-breadcrumbs .ui-breadcrumb {
    font-size: 15px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    color: inherit;
}
.archia-breadcrumbs .ui-breadcrumb span a {
    color: inherit;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.2s;
}
.archia-breadcrumbs .ui-breadcrumb span a:hover {
    opacity: 0.8;
}
/* Last item (current page) - bold */
.archia-breadcrumbs .ui-breadcrumb > span:last-child span {
    font-weight: 500;
    opacity: 1;
}
/* Separator: use / instead of arrow icon */
.archia-breadcrumbs .uicore-separator {
    display: inline-block;
    margin: 0 10px;
    opacity: 0.4;
    font-style: normal;
}
.archia-breadcrumbs .uicore-separator::before {
    content: '/';
    font-family: inherit;
}
.archia-breadcrumbs .uicore-i-arrow::before {
    content: '/' !important;
}

/* === CTA "Sună acum" badge in fullscreen === */
.archia-cta-small {
    display: inline;
    background: var(--uicore-accent, #C6A15B);
    color: #fff !important;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 50px;
    margin-left: 5px;
    vertical-align: middle;
    transition: opacity 0.2s;
    line-height: 1;
    white-space: nowrap;
}
.archia-cta-small:hover {
    opacity: 0.8 !important;
}

