/*
    styles.css
    Doplňkové styly pro moderní vzhled a navigaci
*/

/* Stylování navigačních odkazů */
.nav-link {
    position: relative;
    color: inherit; /* Bude reagovat na dark/light mode */
    padding-bottom: 4px;
    transition: color 300ms ease;
}

.nav-link:hover {
    color: #3b82f6; /* primary-accent v hover stavu */
}

/* Spodní linka v hover stavu */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3b82f6; /* primary-accent */
    transition: width 300ms ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Stylování projektových karet pro moderní, zvednutý efekt */
.project-card {
    display: block;
    padding: 1.5rem;
    border-radius: 1rem; /* rounded-xl */
    text-align: center;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1); /* plynulá animace */
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-5px); /* Jemné zvednutí */
}

.tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    border-radius: 9999px; /* rounded-full */
}

/* Animace pro hero sekci (pro moderní dynamický pocit) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease-out;
}