@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

:root {
    --primary: #4f46e5;
    --primary-shadow: rgba(79, 70, 229, 0.3);
    --accent: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --warning: #f59e0b;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 1000px;
    padding: 0 20px;
}

/* HEADER & NAV */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu .nav-highlight {
    color: var(--danger);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 4px 0;
  transition: 0.3s;
}


/* Universal Card Style */
.card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.card .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-dark);
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card .read-more {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
}

/* FOOTER */
footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

footer .big {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

footer .info {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
}

.stuha {
    position: absolute;
    top: 50px;
    right: -50px;
    width: 250px;
    background: rgb(244, 66, 66);
    color: black;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 0;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Cookie Banner - Indigo Style */
.indigo-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: #0f111a; 
    color: #ffffff;
    padding: 20px 30px;
    z-index: 9999;
    display: none; /* Zapína sa cez JS */
    border: 1px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cbd5e0;
}

.cookie-text strong {
    color: var(--primary);
    display: block;
    font-size: 1.1rem;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.cookie-text a:hover {
    opacity: 0.8;
}

/* Tlačidlá */
.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-indigo-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.btn-indigo-primary:hover {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.btn-indigo-secondary {
    background: transparent;
    color: #65676b;
    border: 1px solid #3a3b3c;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-indigo-secondary:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* šipka */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: #e2e8f0;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 15px;
    transition: 0.3s;
    transform: rotate(-90deg); /* Otočí prvok o 90 stupňov doľava */
}

html {
    scroll-behavior: smooth;
}

/* Responzivita pre mobily */
@media  (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-indigo-primary, .btn-indigo-secondary {
        width: 100%;
    }

    /*Menu*/
    .menu-toggle {
        display: flex;/* Zobrazit hamburger*/
    }

    .nav-menu {
        display: none; /* Skryjeme klasické odkazy */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgb(255, 255, 255);
        text-align: center;
        padding: 15px;
    }
    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px;
    }

    /*Otvorenie menu*/
    .nav-menu.active {
        display: flex;
    }
}