/* Custom Styles for Videologie.cz */

:root {
    --ps-blue: #00439c;
}

html {
    scroll-behavior: smooth;
}

/* Glassmorphism for Navbar on Scroll */
.navbar-scrolled {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle pulse for the PS Blue glow */
@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.ps-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Lift effect for cards with enhanced shadow */
.card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    filter: brightness(1.1);
}

.card:hover .relative {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ps-blue);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Fix for mobile overflow and better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
}