Files
klz-cables.com/components/Navigation.css
2025-12-28 23:28:31 +01:00

104 lines
1.5 KiB
CSS

/* Navigation Styles */
.nav {
background: #ffffff;
border-bottom: 1px solid #e5e7eb;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.navContainer {
max-width: 1280px;
margin: 0 auto;
padding: 0 1rem;
display: flex;
justify-content: space-between;
align-items: center;
height: 4rem;
}
.logo {
font-size: 1.25rem;
font-weight: 700;
color: #1f2937;
text-decoration: none;
}
.navMenu {
display: flex;
gap: 1.5rem;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
}
.navLink {
color: #4b5563;
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
padding: 0.5rem 0;
position: relative;
}
.navLink:hover {
color: #1f2937;
}
.navLink.active {
color: #1f2937;
font-weight: 600;
}
.navLink.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: #3b82f6;
}
.langSwitcher {
display: flex;
gap: 0.5rem;
align-items: center;
}
.langButton {
background: transparent;
border: 1px solid #d1d5db;
padding: 0.375rem 0.75rem;
border-radius: 0.375rem;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
color: #4b5563;
transition: all 0.2s;
}
.langButton:hover {
background: #f3f4f6;
border-color: #9ca3af;
}
.langButton.active {
background: #3b82f6;
color: white;
border-color: #3b82f6;
}
@media (max-width: 768px) {
.navContainer {
flex-direction: column;
height: auto;
padding: 1rem;
gap: 1rem;
}
.navMenu {
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
}