﻿.product-grid {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: #fff;
    border-radius: 22px;
    border-left: 6px solid #6c63ff;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    /*box-shadow: 0 12px 30px rgba(12,20,30,0.06);*/
    transition: transform 0.35s, box-shadow 0.35s;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 30px rgba(0,0,0,0.18);
    }

    .product-card h3 {
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .product-card p {
        font-size: 16px;
        color: #4b5563;
        margin-bottom: 15px;
    }

.product-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: #f1f5f9;
    font-weight: 700;
    cursor: pointer;
    color: #374151;
}

    .filter-btn:hover {
        background: #e0e7ff;
    }

    .filter-btn.active {
        background: #6c63ff;
        color: white;
    }


.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.price {
    font-weight: bold;
    font-size: 20px;
    color: #6c63ff;
}

.btn {
    padding: 12px 25px;
    border-radius: 15px;
    background-color: #6c63ff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.25s, transform 0.2s;
}

    .btn:hover {
        background-color: #857dff;
        transform: translateY(-2px);
    }

h1, h2, h3 {
    color: #1f2937;
}

.minecraft-plugin {
    border-left: 6px solid #10b981;
}

    .minecraft-plugin .tag {
        background-color: #d1fae5;
        color: #065f46;
    }

.discord-bot {
    border-left: 6px solid #8b5cf6;
}

    .discord-bot .tag {
        background: #ddd6fe;
        color: #5b21b6;
    }

.sekceText {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 30px;
}

.horni-cast {
    display: flex;
    justify-content: space-between;
}

section:first-child {
    margin-top: 0 !important;
}

section {
    margin-top: 40px !important;
}

.footer {
    height: 60px;
    padding: 0 22px;
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center
}


/*tooltip*/
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

    .tooltip .tooltiptext {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 14px;
        visibility: hidden;
        width: max-content;
        max-width: 150px;
        background-color: #fff;
        color: #4b5563;
        text-align: center;
        padding: 8px 10px;
        overflow-wrap: break-word;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s, transform 0.3s;
        line-height: 1.4;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(-5px); /* lehký posun při hover */
    }

    .tooltip .tooltiptext::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #fff transparent transparent transparent;
    }




.filter-toggle {
    display: none;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    background: #6c63ff;
    color: #fff;
    font-weight: 700;
    cursor: pointer
}

.visible-false {
    display: none;
}

@media(max-width:640px) {
    .filter-toggle {
        display: block;
        margin-bottom: 10px;
        margin-left: auto;
        /*margin-bottom: 10px;*/
    }

    .horni-cast h2 {
        height: auto;
        margin: 0
        
    }
    .horni-cast {
        flex-direction: column;
        align-items: flex-start;
        
        gap: 8px;
    }

    .horni-cast div{
        min-width: 100%;

    }

    .product-filter {
        justify-content:right;
        display: none; /* default skryto, komponenta přidá .visible */
    }


        .product-filter.show {
            display: flex;
        }

        .product-filter.open {
            display: flex
        }

    .filter-btn {
        padding: 8px 14px;
        border-radius: 999px;
        border: none;
        background: #f1f5f9;
        font-weight: 700;
        cursor: pointer;
        color: #374151;
    }

    .hero {
        display: grid;
        grid-template-columns: 1fr !important; /* jedna kolona */
        grid-template-rows: auto auto; /* dvě řady pro karty */
    }
}


.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: auto;
}

.card {
    background: #ffffff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(12,20,30,0.06);
    height: 100%;
}

#spoluprace-card {
    background: #f0f8ff;
}

    .card h2 {
        font-weight: bold;
        color: #6c63ff;
        margin: 0 0 12px;
        font-size: 28px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .card p {
        color: #4b5563;
        line-height: 1.3;
        margin-bottom: 18px
        
    }

.nav-card-sekce {
    
    margin-top: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

