/**
* Theme Name: Zourney Child
* Description: This is a child theme of Zourney, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: zourney
* Version: 1.2.8
*/

:root {
    --ntm-admin-bar-height: 0px;
    --top-info-bar-height: 48px;
    --top-info-bar-height-mobile: 44px;
}

html {
    margin-top: 0 !important;
}

* html body {
    margin-top: 0 !important;
}

/* Top Info Bar Styles */
.top-info-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    border-bottom: 2px solid #fff;
    padding: 12px 0;
    font-size: 14px;
}

body.ntm-admin-bar-visible .top-info-bar {
    top: var(--ntm-admin-bar-height);
}

.top-info-bar .container {
    padding: 0 15px;
}

.top-info-content {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.top-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info-bar .info-label {
    font-weight: 600;
    color: #fff;
}

.top-info-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Push the page below the fixed top info bar */
#page {
    padding-top: var(--top-info-bar-height);
}

body.ntm-admin-bar-visible #page {
    padding-top: calc(var(--top-info-bar-height) + var(--ntm-admin-bar-height));
}

/* Navigation Button Styles */
.nav-button-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 20px;
}

.nav-button {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-info-content {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .top-info-bar {
        padding: 8px 0;
        font-size: 13px;
    }

    .top-info-bar .info-item {
        flex: 0 1 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-info-bar a {
        white-space: nowrap;
    }

    #page {
        padding-top: var(--top-info-bar-height-mobile);
    }

    body.ntm-admin-bar-visible #page {
        padding-top: calc(var(--top-info-bar-height-mobile) + var(--ntm-admin-bar-height));
    }

    .nav-button-wrapper {
        padding-left: 10px;
    }

    .nav-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}
