This commit is contained in:
Tomas Dvorak
2025-06-15 23:36:31 +02:00
parent 4640ba82a2
commit 3882d01004
13 changed files with 469 additions and 239 deletions
+105 -1
View File
@@ -98,8 +98,112 @@ p {
}
.navbar.scrolled {
padding: 1rem 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Mobile Menu Styles */
.mobile-menu {
position: fixed;
top: 80px;
left: 0;
right: 0;
background: white;
padding: 1.5rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
z-index: 999;
max-height: calc(100vh - 80px);
overflow-y: auto;
transition: all 0.3s ease-in-out;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
}
.mobile-menu.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.mobile-menu ul {
list-style: none;
padding: 0;
margin: 0;
}
.mobile-menu li {
margin-bottom: 1rem;
opacity: 0;
transform: translateY(-10px);
animation: fadeInUp 0.3s ease-out forwards;
}
.mobile-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu li:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu a {
display: block;
padding: 0.75rem 1rem;
color: var(--dark);
text-decoration: none;
font-size: 1.1rem;
font-weight: 600;
border-radius: 8px;
transition: all 0.2s ease;
}
.mobile-menu a:hover,
.mobile-menu a:focus {
background: var(--primary-light);
color: var(--primary);
}
.mobile-menu .btn-primary {
display: block;
text-align: center;
margin-top: 1rem;
background: var(--button-bg);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
}
.mobile-menu .btn-primary:hover {
background: var(--button-hover);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Hide mobile menu on larger screens */
@media (min-width: 768px) {
.mobile-menu {
display: none !important;
}
}
.logo {
display: flex;
align-items: center;