/* Custom Styles */

/* Light Theme Header/Footer adjustments */
[data-bs-theme="light"] .navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[data-bs-theme="light"] .navbar-brand,
[data-bs-theme="light"] .nav-link,
[data-bs-theme="light"] .navbar-toggler-icon {
    color: #212529 !important;
}

[data-bs-theme="light"] .nav-link.active {
    color: #0d6efd !important;
    font-weight: bold;
}

[data-bs-theme="light"] .footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6 !important;
    color: #212529 !important;
}

/* Fix Guild Selector visibility in Light Mode */
[data-bs-theme="light"] .btn-outline-light {
    color: #212529;
    border-color: #dee2e6;
}

[data-bs-theme="light"] .btn-outline-light:hover {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
}

/* Fix Dropdown Menu in Light Mode */
[data-bs-theme="light"] .dropdown-menu-dark {
    background-color: #ffffff;
    border-color: #dee2e6;
    color: #212529;
}

[data-bs-theme="light"] .dropdown-menu-dark .dropdown-item {
    color: #212529;
}

[data-bs-theme="light"] .dropdown-menu-dark .dropdown-item:hover,
[data-bs-theme="light"] .dropdown-menu-dark .dropdown-item:focus {
    background-color: #e9ecef;
    color: #1e2125;
}

[data-bs-theme="light"] .dropdown-menu-dark .dropdown-divider {
    border-top-color: #dee2e6;
}

[data-bs-theme="light"] .dropdown-menu-dark .dropdown-header {
    color: #6c757d;
}

/* Dark Theme (Default Bootstrap Dark is usually fine, but ensuring consistency) */
[data-bs-theme="dark"] .navbar {
    background-color: #212529 !important;
    border-bottom: 1px solid #373b3e !important;
}

[data-bs-theme="dark"] .footer {
    background-color: #212529 !important;
    border-top: 1px solid #373b3e !important;
}

/* General Utilities */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #fff;
    border-radius: .75rem;
}

.hover-card {
    transition: transform 0.2s ease-in-out;
}
.hover-card:hover {
    transform: translateY(-5px);
}
