
/* ================= RESET & ZÁKLAD ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #34d399;
    --primary-hover: #2dd4bf;
    --bg-dark: #09090b;
    --card-bg: #18181b;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --nav-bg: rgba(13, 13, 18, 0.85);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(180deg, var(--bg-dark), #0f0f14);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: white;
}

/* ================= NAVIGÁCIA ================= */
.hlavicka {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.hlavicka-obsah {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.logo img {
    height: 40px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.discord-btn {
    background: #57A55C;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(87, 165, 92, 0.3);
}

.discord-btn:hover {
    transform: translateY(-2px);
    background: #4d8f51;
}

/* Hamburger */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* ================= HERO SEKČIA ================= */
.uvod {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
}

.uvod h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.zvyraznenie {
    color: var(--primary-color);
    font-family: "Poetsen One", sans-serif;
}

.uvod p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.tlacidlo-recepty {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tlacidlo-recepty:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 211, 153, 0.4);
}

/* ================= RECEPTY GRID ================= */
.recepty {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recepty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.karta-receptu {
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.karta-receptu:hover {
    transform: translateY(-10px);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.obrazok-receptu {
    height: 220px;
    overflow: hidden;
}

.obrazok-receptu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.karta-receptu:hover .obrazok-receptu img {
    transform: scale(1.1);
}

.obsah-receptu {
    padding: 1.5rem;
}

.obsah-receptu h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(52, 211, 153, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

/* SKRYTÉ RECEPTY */
.recept-hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.recept-show {
    display: block;
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.zobrazit {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* ================= PARTNERI ================= */
.spolupraca {
    padding: 6rem 2rem;
    text-align: center;
}

.nadpis-spolupraca {
    font-family: "Poetsen One", sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.loga-spolupraca img {
    height: 100px;
    border-radius: 20px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.loga-spolupraca img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-radius: 0 0 24px 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .nav-toggle-label { display: block; }
}

.active-link {
    color: var(--primary-color) !important;
    font-weight: 700;
}