﻿/* ================================
   CraftElevators — Header Styles
   ================================ */

/* --- Header Area --- */
.header-two {
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(27,49,80,0.05);
    position: sticky;
    top: 0;
    z-index: var(--z-header, 100);
    transition: box-shadow 0.16s, background 0.16s;
}

/* --- Header Top Bar --- */
.header-top {
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 0.98rem;
    padding: 0.6em 0;
}

.header-top-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-top .call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 18px;
    color: var(--color-white);
}

    .header-top .call i {
        font-size: 1.15rem;
    }

    .header-top .call a {
        color: var(--color-white);
        margin-right: 7px;
        text-decoration: none;
        opacity: 0.93;
        transition: opacity 0.18s;
    }

        .header-top .call a:hover {
            opacity: 1;
            text-decoration: underline;
        }

.social-header {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .social-header .list-inline {
        gap: 7px;
    }

    .social-header i {
        font-size: 1.08rem;
        color: var(--color-white);
        opacity: 0.82;
        transition: color 0.18s, opacity 0.18s;
    }

    .social-header a:hover i {
        color: var(--color-accent);
        opacity: 1;
    }

/* --- Main Header --- */
.header-two-main-wrapper {
    background: var(--color-white);
    box-shadow: none;
    padding: 0.75em 0;
}

.header-two-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* --- Logo --- */
.logo-area {
    display: flex;
    align-items: center;
    min-width: 140px;
}

.logo-img {
    max-height: 46px;
    width: auto;
    display: block;
    margin-right: 9px;
}

/* --- Navigation Area --- */
.nav-area {
    display: flex;
    align-items: center;
    gap: 34px;
    font-family: var(--font-primary);
}

.nav-list {
    display: flex;
    gap: 26px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.main-nav a {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    text-decoration: none;
    padding: 9px 0;
    border-bottom: 2.5px solid transparent;
    transition: color 0.18s, border-bottom 0.18s;
}

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--color-accent);
        border-bottom: 2.5px solid var(--color-accent);
    }

/* --- Header CTA (e.g. "Request A Quote") --- */
.header-end .rts-btn,
.header-end .btn-primary {
    font-size: 1.06rem;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    padding: 10px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0,168,157,0.06);
    margin-left: 16px;
}

/* --- Responsive Navigation (hidden by default, for custom hamburger if you implement) --- */
@media (max-width: 1199px) {
    .nav-area {
        display: none !important;
    }
}

/* --- Responsive: Tablet & Down --- */
@media (max-width: 991.98px) {
    .header-two-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .header-top-wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .header-end .rts-btn,
    .header-end .btn-primary {
        width: 100%;
        margin: 10px 0 0 0;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 767.98px) {
    .header-top, .header-two-main-wrapper {
        padding-left: 6px;
        padding-right: 6px;
    }

    .header-two {
        box-shadow: 0 2px 8px rgba(27,49,80,0.06);
    }

    .logo-img {
        max-height: 38px;
    }

    .header-end .rts-btn,
    .header-end .btn-primary {
        font-size: 0.98rem;
        padding: 10px 16px;
        border-radius: var(--border-radius-md);
    }
}

/* --- Optional: Show mobile nav if you implement one --- */
/*
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        display: block;
        position: absolute;
        right: 16px;
        top: 22px;
        z-index: var(--z-header, 100);
    }
}
*/

