/* Header Navigation Styles */
.navbar {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .logo {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #333333 !important;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #ff2e38 !important;
    background-color: rgba(255, 46, 56, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #ff2e38 !important;
    background-color: rgba(255, 46, 56, 0.15);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 46, 56, 0.25);
    outline: none;
}

.navbar-toggler:hover {
    background-color: rgba(255, 46, 56, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        margin-top: 0.5rem;
        padding: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 1.5rem;
        margin: 0.25rem 0;
        border-radius: 8px;
        font-size: 18px;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 46, 56, 0.1);
        transform: none;
    }
    
    .navbar-brand {
        margin-right: 0;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .navbar {
        padding: 0.5rem;
    }
    
    .navbar-brand .logo {
        width: 60px !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 0.75rem 1rem;
    }
}

/* Large screens */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 1rem 1.5rem;
    }
    
    .navbar-brand .logo {
        width: 90px !important;
    }
}

/* Animation for navbar collapse */
.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-collapse.collapsing {
    transition: all 0.3s ease;
}

/* Custom scroll behavior */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Focus styles for accessibility */
.navbar-nav .nav-link:focus {
    outline: 2px solid #ff2e38;
    outline-offset: 2px;
}

.navbar-toggler:focus {
    outline: 2px solid #ff2e38;
    outline-offset: 2px;
}

/* Logo animation on hover */
.navbar-brand:hover .logo {
    filter: brightness(1.1);
}



@media (max-width: 991.98px) {
    .navbar-nav .nav-link.active::before {
        display: none;
    }
} 