/* Navbar link styles - Center alignment */
.nav-link {
    position: relative;
    transition: all 0.2s ease;
}

/* fww-nav__links styles - Recreating your React styles */
.fww-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.fww-nav__links a,
.fww-nav__link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #475569;
}

.fww-nav__links a:hover,
.fww-nav__link:hover {
    background-color: #f1f5f9;
    color: #000000;
}

.fww-nav__links a.active,
.fww-nav__link.active {
    background-color: #e0f2fe;
    color: #0284c7;
}

/* Remove blue background/highlight on click for all elements */
button:active,
button:focus,
a:active,
a:focus,
input:active,
input:focus,
select:active,
select:focus,
textarea:active,
textarea:focus,
[tabindex]:active,
[tabindex]:focus,
.category-btn:active,
.category-btn:focus,
.tab-btn:active,
.tab-btn:focus,
.sort-btn:active,
.sort-btn:focus,
.fw-btn-signin:active,
.fw-btn-signin:focus,
.ww-btn-signin:active,
.ww-btn-signin:focus,
.fw-mobile__link:active,
.fw-mobile__link:focus,
.ww-mobile__link:active,
.ww-mobile__link:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Remove tap highlight on mobile devices */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Optional: Keep focus outline for accessibility (keyboard users) but remove blue background */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #0ea5e9 !important;
    outline-offset: 2px !important;
}

/* Home page styles */
body.home .fww-nav__links a,
body.home .fww-nav__link {
    color: white;
}

body.home .fww-nav__links a:hover,
body.home .fww-nav__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

body.home .fww-nav__links a.active,
body.home .fww-nav__link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}


/* Hover effect - ash background, black text */
.nav-link:hover {
    background-color: #f1f5f9 !important; /* ash/slate-100 */
    color: #000000 !important;
}

/* Active state - blue-ish background and text */
.nav-link.active {
    background-color: #e0f2fe !important; /* sky-100 - blue-ish */
    color: #0284c7 !important; /* sky-600 - blue-ish text */
}

/* Blog link hover effect */
.blog-link:hover {
    background-color: #f1f5f9 !important; /* ash */
    color: #000000 !important;
}

/* Footer styles */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: none;
}

/* Social links hover effect */
footer .hover\:text-sky-400:hover {
    color: #38bdf8;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    footer .grid {
        gap: 2rem;
    }
}

/* Additional padding for more breathing room */
.site-header {
    padding: 0 !important; /* Remove default padding to use our custom padding */
}

/* Ensure navbar container has proper spacing */
.max-w-7xl {
    max-width: 80rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}