/* ==========================================================================
   Projects filter bar
   ========================================================================== */
.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 45px;
}

.projects-filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.projects-filter-btn:hover {
    border-color: #1a1a1a;
}

.projects-filter-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

@media (max-width: 767px) {
    .projects-filter {
        gap: 8px;
    }

    .projects-filter-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* ==========================================================================
   Fullscreen projects lightbox (Magnific Popup)
   ========================================================================== */
.mfp-carpini-gallery.mfp-bg {
    background: #000;
    opacity: 0.98;
}

.mfp-carpini-gallery .mfp-container {
    padding: 0 8px;
}

.mfp-carpini-gallery .lightbox-gallery-video {
    display: block;
    max-width: 96vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    background: #000;
}

.mfp-carpini-gallery .mfp-close {
    font-size: 32px;
    opacity: 0.85;
}

.mfp-carpini-gallery .mfp-close:hover {
    opacity: 1;
}

.mfp-carpini-gallery .mfp-arrow {
    opacity: 0.85;
}

.mfp-carpini-gallery .mfp-arrow:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .mfp-carpini-gallery .mfp-arrow {
        transform: scale(0.7);
    }

    .mfp-carpini-gallery .mfp-close {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 26px;
    }
}

/* ==========================================================================
   Language switcher (integrated into the main nav as a dropdown item,
   reusing the theme's own .sub-menu hover/mobile behaviour)
   ========================================================================== */
.lang-current-label {
    position: relative;
    padding-right: 14px !important;
    cursor: pointer;
}

.lang-current-label:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -2px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.7;
}

.lang-switch-list {
    text-align: left;
}

.lang-switch-list li a {
    color: #fff !important;
}

@media only screen and (max-width: 1199px) {
    .lang-switch-item {
        margin-top: 15px;
    }

    .lang-switch-list li a {
        text-transform: uppercase;
    }
}

/* ==========================================================================
   Header scroll behaviour: compact + auto-hide
   ========================================================================== */
.prague-header.simple.sticky-menu {
    transition: background-color 0.35s ease, padding 0.35s ease, -webkit-transform 0.35s ease;
    transition: background-color 0.35s ease, padding 0.35s ease, transform 0.35s ease;
    transition: background-color 0.35s ease, padding 0.35s ease, transform 0.35s ease, -webkit-transform 0.35s ease;
}

.prague-header.simple.sticky-menu.light.scroll {
    background-color: rgba(111, 60, 24, 0.94);
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.prague-header.simple.sticky-menu.light.scroll .prague-header-wrapper {
    margin-top: 0;
}

.prague-header.simple.sticky-menu.light.scroll .image_logo {
    min-height: 56px !important;
    transition: min-height 0.35s ease;
}

.prague-header.simple.sticky-menu.hide-header {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
}

/* ==========================================================================
   Contact form: file upload field
   ========================================================================== */
.frm-file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    cursor: pointer;
    font-size: 12px;
    color: #1a1a1a;
    transition: border-color 0.2s ease;
}

.frm-file-label:hover {
    border-color: #1a1a1a;
}

.frm-file-label-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.frm-file-name {
    color: #888;
    font-size: 12px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 12px;
}

.frm-file-label input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
