/* CVG Construction Navigation Styles */
/* Header, navigation, and dropdown menu styles */

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(27, 54, 93, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: var(--z-sticky);
    padding: 1rem 0;
}

.nav {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-cta {
    background: #FF6B35;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #E55A2B;
    color: white !important;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--cvg-gray-200);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--cvg-gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--cvg-gray-100);
    color: var(--cvg-primary);
}

/* Mega Dropdown */
.mega-dropdown {
    min-width: 600px;
}

.mega-dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.dropdown-section h4 {
    color: var(--cvg-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.dropdown-links {
    list-style: none;
    margin: 0;
}

.dropdown-links li {
    margin-bottom: 0.25rem;
}

.dropdown-links a {
    padding: 0.25rem 0;
    font-size: 0.85rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1B365D;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .mega-dropdown {
        min-width: auto;
    }

    .mega-dropdown-content {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 100px 0 20px;
    background: #f8f9fa;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.breadcrumb a {
    color: #1B365D;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #FF6B35;
}
