/* MDM DATA s.r.o. – shared styles */
html { scroll-behavior: smooth; }

/* Header stays on top while scrolling */
nav { position: sticky; top: 0; z-index: 50; }

/* Keep section headings visible below the header when jumping to them */
section { scroll-margin-top: 92px; }

.nav-link { font-weight: 500; }
.nav-link:hover, .nav-link.current { color: #dc2626; }

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}
.mobile-link:hover, .mobile-link.current { background: #eff6ff; color: #dc2626; }

/* Language switcher */
.lang-btn {
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.7;
}
.lang-btn:hover { opacity: 1; }
.lang-btn.active { background-color: #1e3a8a; color: #ffffff; opacity: 1; }

/* Screenshots */
.shot {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    cursor: zoom-in;
    transition: transform 0.2s ease;
    background: #fff;
}
.shot:hover { transform: scale(1.01); }

/* Analog Fibonacci clock in the header */
.fib-clock { width: 48px; height: 48px; flex-shrink: 0; cursor: help; }
.fib-clock svg { width: 100%; height: 100%; display: block; }
.fib-clock path { transition: stroke-dashoffset 2.5s ease-in-out; }
@media (min-width: 768px) { .fib-clock { width: 60px; height: 60px; } }
@media (max-width: 339px) { .fib-clock { display: none; } }
