/* Animace fadeInDown pro nadpis */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styl a animace pro nadpis "What are you looking for?" */
.categories .cta-text {
    font-size: 3rem;
    font-weight: 900;
    color: #3eb489; /* mintová */
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 50px;
    font-family: 'Urbanist', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    animation: fadeInDown 1.2s ease forwards;
    opacity: 0;
}

/* Animace fadeInUp pro tlačítka */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.category-btn {
    background-color: transparent;
    border: 2px solid #3eb489; /* mintová */
    color: #3eb489; /* mintová */
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(62, 180, 137, 0.15); /* mintová se stínem */
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;

    /* Animace tlačítek */
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* Postupné zpoždění animace pro jednotlivé tlačítka */
.category-btn:nth-child(1) {
    animation-delay: 0.2s;
}
.category-btn:nth-child(2) {
    animation-delay: 0.4s;
}
.category-btn:nth-child(3) {
    animation-delay: 0.6s;
}
.category-btn:nth-child(4) {
    animation-delay: 0.8s;
}
.category-btn:nth-child(5) {
    animation-delay: 1s;
}
.category-btn:nth-child(6) {
    animation-delay: 1.2s;
}
.category-btn:nth-child(7) {
    animation-delay: 1.4s;
}

/* Hover efekty */
.category-btn:hover {
    background-color: #3eb489; /* mintová */
    color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(62, 180, 137, 0.6); /* intenzivnější stín mint */
    transform: translateY(-8px);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    pointer-events: none;
}

.category-btn:hover::before {
    left: 125%;
    transition: all 0.7s ease;
}
