/* Main Header Styles */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    /* Ensure vertical centering */
}

.header-left,
.header-right {
    flex: 1;
}

/* Navigation */
.header-nav ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    /* Larger font size */
    opacity: 0.9;
    transition: opacity 0.3s, color 0.3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    /* Improve readability */
}

.header-nav a:hover {
    opacity: 1;
    color: #dcb697;
    /* Accent color */
}

/* Center Logo Area */
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.logo-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.25rem;
    color: #fff;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.logo-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    /* Bold */
    font-size: 1.8rem;
    /* Larger logo text */
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.brand-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    opacity: 0.9;
    margin-top: 4px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 10px;
}

.brand-sub::before,
.brand-sub::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25px;
    /* Longer lines */
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.brand-sub::before {
    right: 100%;
}

.brand-sub::after {
    left: 100%;
}

/* Contact Info */
.header-right {
    display: flex;
    justify-content: flex-end;
}

.header-contact {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    /* Use sans-serif for numbers */
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.separator {
    margin: 0 10px;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-header {
        flex-direction: column;
        padding: 0.5rem 1rem;
        background: transparent;
        height: auto;
        position: absolute;
        width: 100%;
        gap: 0.5rem;
    }

    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
        flex: auto;
        text-align: center;
    }

    .header-right {
        justify-content: center;
        margin-bottom: 0;
    }

    .header-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-nav a {
        font-size: 0.8rem;
    }

    .logo-img {
        height: 85px;
        /* Smaller logo on mobile */
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-sub {
        font-size: 0.6rem;
    }

    .header-contact {
        font-size: 0.75rem;
        /* Ensure it fits on smaller screens */
        white-space: nowrap;
        /* Tries to keep them on one line if possible, or use flex wrap if really needed */
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        /* allow wrapping on extremely small screens */
    }
}