/* Legal Pages Navbar Styles - Matching Construction and Egg Pages */

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    will-change: opacity, transform;
    transform: translateZ(0);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 41, 0.98);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(79, 195, 247, 0.2);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled::before { opacity: 1; }
.navbar.scrolled::after { opacity: 1; }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem 0 2rem;
    position: relative;
    z-index: 1;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: auto;
    margin-left: -4rem;
    transform: translateX(-2.5rem);
}

.company-logo {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(79, 195, 247, 0.3));
    transition: all 0.3s ease;
}

.nav-logo a:hover .company-logo {
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.5));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4FC3F7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4FC3F7;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: #4FC3F7;
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(16, 22, 34, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        z-index: 1000;
        border-top: 1px solid rgba(79, 195, 247, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 1.1rem;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(79, 195, 247, 0.1);
        color: #4FC3F7;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo a {
        margin-left: 0;
        transform: none;
    }
    
    .company-logo {
        height: 60px;
    }
}

/* Footer Styles for Legal Pages */
.footer {
    background: #0a1929;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(79, 195, 247, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    color: #4FC3F7;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4FC3F7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 50%;
    color: #4FC3F7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(79, 195, 247, 0.2);
    border-color: #4FC3F7;
    color: #4FC3F7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(79, 195, 247, 0.3);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.copyright-text p {
    color: #cccccc;
    margin: 0;
}

.footer-actions {
    display: flex;
    gap: 1rem;
}

.back-to-main {
    color: #4FC3F7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-to-main:hover {
    background: rgba(79, 195, 247, 0.1);
    border-color: #4FC3F7;
}

.footer-company-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer-company-logo:hover {
    filter: brightness(1.4);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
