/* Modern Minimalist Navbar */
.custom-navbar {
    background-color: #ffffff !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
}

.custom-navbar .container-fluid {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px !important;
}

/* Navbar Brand */
.custom-navbar .navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748 !important;
    padding: 0.75rem 1rem 0.75rem 0 !important;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
    color: #4299e1 !important;
}

.custom-navbar .navbar-brand i {
    color: #4299e1;
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

/* Nav Items Layout - Horizontal Clean Design */
.custom-navbar .navbar-nav {
    gap: 0;
    align-items: stretch;
}

.custom-navbar .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Nav Links - Minimalist Style */
.custom-navbar .nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1rem 0.85rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 2px;
}

.custom-navbar .nav-link:hover {
    color: #2d3748 !important;
    background-color: #f7fafc;
    border-bottom-color: #4299e1;
}

.custom-navbar .nav-link.active {
    color: #4299e1 !important;
    border-bottom-color: #4299e1;
}

.custom-navbar .nav-link i {
    margin-right: 0.35rem;
    font-size: 0.95rem;
}

/* Dropdown Toggle Ok İşaretini Gizle */
.custom-navbar .dropdown-toggle::after {
    display: none;
}

/* Dropdown - Hover to Open */
.custom-navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Menu - Clean White Design */
.custom-navbar .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 3px !important;
    min-width: 220px;
    top: 100% !important;
    position: absolute !important;
}

.custom-navbar .dropdown-item {
    padding: 0.65rem 1.25rem;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    border-radius: 2px;
}

.custom-navbar .dropdown-item:hover {
    background-color: #f7fafc;
    color: #2d3748;
    border-left-color: #4299e1;
    padding-left: 1.5rem;
}

.custom-navbar .dropdown-item.active {
    background-color: #ebf8ff;
    color: #4299e1;
    border-left-color: #4299e1;
}

.custom-navbar .dropdown-item i {
    width: 20px;
    text-align: center;
    color: #718096;
    margin-right: 0.5rem;
}

.custom-navbar .dropdown-item:hover i {
    color: #4299e1;
}

.custom-navbar .dropdown-divider {
    border-color: #e2e8f0;
    margin: 0.5rem 0;
}

/* Right Side Items - User & Company */
.custom-navbar .navbar-nav.ms-auto {
    margin-left: auto !important;
}

.custom-navbar .navbar-nav.ms-auto .nav-link {
    padding: 1rem 0.85rem !important;
    border-bottom: none;
    border-radius: 0;
}

.custom-navbar .navbar-nav.ms-auto .nav-link:hover {
    background-color: #f7fafc;
    border-bottom: none;
}

.custom-navbar .text-warning {
    color: #f59e0b !important;
    font-weight: 600;
}

.custom-navbar .navbar-text {
    color: #cbd5e0 !important;
    font-weight: 300;
}

/* Navbar Toggler - Mobile */
.custom-navbar .navbar-toggler {
    border: 1px solid #cbd5e0;
    border-radius: 2px;
    padding: 0.4rem 0.6rem;
    margin-left: 0.5rem;
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(66, 153, 225, 0.25);
}

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

/* Badge Styles */
.custom-navbar .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.6em;
    border-radius: 2px;
    font-weight: 600;
    margin-left: 0.4rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-navbar {
        padding: 0.5rem 0;
    }
    
    .custom-navbar .navbar-brand {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
    
    .custom-navbar .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .custom-navbar .nav-link:hover,
    .custom-navbar .nav-link.active {
        border-left-color: #4299e1;
        border-bottom: none;
        background-color: #f7fafc;
    }
    
    .custom-navbar .navbar-collapse {
        background-color: #ffffff;
        padding: 1rem 0;
        margin-top: 0.5rem;
        border-top: 1px solid #e2e8f0;
    }
    
    .custom-navbar .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        background-color: #f7fafc;
    }
    
    /* Mobile'da click ile açılması için hover'ı devre dışı bırak */
    .custom-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: none;
    }
}

@media (max-width: 576px) {
    .custom-navbar .navbar-brand {
        font-size: 1.15rem;
    }
}

/* Modern Minimalist Footer */
.custom-footer {
    background-color: #1a202c !important;
    color: #e2e8f0 !important;
    position: relative;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #2d3748;
    padding: 2rem 0 !important;
    margin-top: 3rem !important;
}

.custom-footer .container {
    max-width: 1310px;
}

.custom-footer h5 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.custom-footer h5 i {
    color: #4299e1;
}

.custom-footer p {
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.custom-footer small {
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Footer Social Icons */
.custom-footer .social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.custom-footer .social-icons a {
    color: #cbd5e0 !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.05);
}

.custom-footer .social-icons a:hover {
    color: #4299e1 !important;
    background-color: rgba(66, 153, 225, 0.15);
    transform: translateY(-3px);
}

.custom-footer .social-icons i {
    font-size: 1.25rem !important;
}

/* Footer Links */
.custom-footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: #4299e1;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .custom-footer {
        padding: 1.5rem 0 !important;
        text-align: center !important;
    }
    
    .custom-footer .social-icons {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .custom-footer .row > div {
        text-align: center !important;
    }
}