﻿/* ==========================================================================
   HEADER & NAVIGATION (MODERNIZED)
   ========================================================================== */
.header {
    background-color: var(--navy-blue);
    /* Soft dark shadow casting down onto the hero banner */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logoImage {
    max-height: 48px;
    width: auto;
    transition: transform 0.2s ease;
}

    .logoImage:hover {
        transform: scale(1.02);
    }

/* Navigation Container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Links List */
.menu-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

    .menu-links a {
        display: block;
        padding: 8px 14px;
        color: var(--text-light);
        font-family: var(--font-bold);
        font-size: 0.95rem;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.25s ease;
    }

        .menu-links a:hover {
            color: var(--hover-orange);
            background-color: rgba(255, 255, 255, 0.08);
        }

/* Facebook Icon Link */
.facebook-li a {
    color: var(--text-light);
    font-size: 1.25rem;
    padding: 8px 10px;
}

    .facebook-li a:hover {
        color: #1877f2; /* Facebook Brand Blue Accent */
    }

/* Phone Contact Link */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

    .phone-link:hover {
        background-color: rgba(255, 255, 255, 0.08);
    }

.phone-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.phone-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-label {
    font-size: 0.75rem;
    font-family: var(--font-light);
    color: var(--hover-orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-number {
    font-size: 1rem;
    font-family: var(--font-bold);
}

/* Quote Button */
.btnQuote {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 10px 20px;
    font-family: var(--font-bold);
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background-color 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
}

    .btnQuote:hover {
        background-color: var(--accent-orange);
        transform: translateY(-1px);
    }

/* Mobile Quick Call Button */
.mobile-phone-btn {
    display: none;
    background-color: var(--primary-orange);
    color: var(--text-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: 12px;
}

/* Mobile Toggle Hamburger */
.header .menu-btn {
    display: none;
}

.header .menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px 5px;
}

    .header .menu-icon .navicon {
        background: var(--text-light);
        display: block;
        height: 3px;
        position: relative;
        width: 24px;
        border-radius: 2px;
        transition: background 0.2s ease-out;
    }

        .header .menu-icon .navicon:before,
        .header .menu-icon .navicon:after {
            background: var(--text-light);
            content: '';
            display: block;
            height: 100%;
            position: absolute;
            width: 100%;
            border-radius: 2px;
            transition: all 0.2s ease-out;
        }

        .header .menu-icon .navicon:before {
            top: 7px;
        }

        .header .menu-icon .navicon:after {
            top: -7px;
        }

/* Responsive Header (Tablet & Mobile Breakpoint) */
@media (max-width: 992px) {
    .header-container {
        padding: 0 15px;
    }

    .mobile-phone-btn {
        display: flex;
    }

    .header .menu-icon {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--navy-blue);
        border-top: 2px solid var(--primary-orange);
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-in-out;
    }

    .menu-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
    }

        .menu-links a {
            padding: 12px 25px;
            border-radius: 0;
            font-size: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

    .facebook-li a {
        font-size: 1.4rem;
    }

    .header-actions {
        flex-direction: column;
        padding: 15px 25px 20px;
        gap: 15px;
        background-color: rgba(0, 0, 0, 0.15);
    }

    .phone-link {
        justify-content: center;
        width: 100%;
    }

    .btnQuote {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    /* Expand Hamburger Animation */
    .header .menu-btn:checked ~ .nav-menu {
        max-height: 450px;
    }

    .header .menu-btn:checked ~ .menu-icon .navicon {
        background: transparent;
    }

        .header .menu-btn:checked ~ .menu-icon .navicon:before {
            transform: rotate(-45deg);
            top: 0;
        }

        .header .menu-btn:checked ~ .menu-icon .navicon:after {
            transform: rotate(45deg);
            top: 0;
        }
}
