/* Navbar with 12-column grid */
.navbar-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    height: 70px;
    background: var(--bg-light);
    z-index: 1000;
    position: relative;
    width: 100%;
}

.logo {
    grid-column: 1 / 4;
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
}

.nav-links {
    grid-column: 4 / 11;
    display: flex;
    justify-content: flex-start;
    gap: 32px;
    margin: 0;
    padding-left: 0;
}

.nav-links a {
    margin: 0;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-right {
    grid-column: 11 / -1;
    display: flex;
    justify-content: flex-end;
}

.contact-button {
    background: var(--text-dark);
    color: var(--bg-light);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--accent-orange);
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    grid-column: 12 / -1;
    justify-self: end;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Overlay - COMPLETE FIX */
.nav-overlay {
    position: fixed;
    top: 0;
    left: -100vw; /* Move completely off screen */
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
    /* Completely hide */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: left 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    left: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    flex-shrink: 0;
}

.mobile-nav-logo img {
    height: 35px;
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.mobile-close-btn:hover {
    background: #f0f0f0;
}

/* Navigation links in mobile overlay */
.nav-overlay .nav-links {
    flex-direction: column !important;
    gap: 0 !important;
    text-align: left;
    display: flex !important;
    width: 100%;
    padding: 0;
    margin: 0;
    flex: 1;
    grid-column: unset !important;
    justify-content: flex-start !important;
}

.nav-overlay .nav-links a {
    font-size: 18px !important;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.nav-overlay .nav-links a:hover {
    background: #f8f9fa;
    color: var(--accent-orange);
    padding-left: 40px;
}

.nav-overlay .nav-links a:last-child {
    border-bottom: none;
}

/* Mobile contact section */
.mobile-nav-footer {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
    flex-shrink: 0;
}

.mobile-contact-button {
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.mobile-contact-button:hover {
    background: var(--accent-orange);
    transform: translateY(-1px);
}

.mobile-contact-info {
    margin-top: 20px;
    text-align: center;
}

.mobile-contact-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 5px 0;
}

.mobile-contact-info a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
}

/* Sticky Contact Button */
.sticky-contact {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--text-dark);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(34, 34, 34, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-contact:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

/* Accessibility improvements */
.hamburger:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.mobile-close-btn:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar-container {
        padding: 0 30px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .nav-links a {
        font-size: 16px;
    }
}

/* Hide mobile navigation on desktop */
@media (min-width: 769px) {
    .nav-overlay {
        display: none !important;
    }
    
    .hamburger {
        display: none !important;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 15px 0;
        height: 60px;
    }
    
    .logo {
        grid-column: 1 / 10;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    .hamburger {
        display: flex;
        grid-column: 11 / -1;
        justify-self: end;
    }
    
    .sticky-contact {
        display: block;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .nav-overlay {
        transition: none;
    }
    
    .hamburger span {
        transition: none;
    }
    
    .contact-button, .mobile-contact-button {
        transition: none;
    }
    
    .sticky-contact {
        transition: none;
    }
	
	/* FORCE HIDE mobile navigation on desktop */
@media (min-width: 769px) {
    .nav-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
}