/* Custom Styles for Chalupa Turiec */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation scroll effect */
#navigation.scrolled {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Animate on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Hero background parallax effect (optional) */
.hero-bg-parallax {
    transition: transform 0.5s ease-out;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0284c7;
    ring: 2px;
    ring-color: rgba(14, 165, 233, 0.2);
}

/* Custom scrollbar (for webkit browsers) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0369a1;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease-in-out;
}

img:not([src]) {
    opacity: 0;
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none;
    }
}

/* Accessibility improvements */
.focus-visible:focus {
    outline: 2px solid #0284c7;
    outline-offset: 2px;
}

/* Responsive utilities */
@media (max-width: 640px) {
    .mobile-center {
        text-align: center;
    }
}
