/* ===== ROBOPOL ENHANCED STYLES - Modernized 2025 ===== */
/* ===== VARIABLES ===== */
:root {
    /* Core Colors - Vibrant & Tech */
    --primary-color: #0abab5;
    /* Robopol Teal */
    --primary-hover: #008080;
    --accent-purple: #8b5cf6;
    --accent-orange: #ff9100;
    /* Bright Orange for Innovation */
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-gold: #f59e0b;

    /* Backgrounds - Deep Space Theme */
    --background: #0b1121;
    /* Darker, richer slate/blue */
    --background-light: #151e32;
    /* Secondary background */
    --surface-color: rgba(30, 41, 59, 0.6);
    /* Glassmorphism base */
    --card-background: rgba(30, 41, 59, 0.4);

    /* Text */
    --text-color: #f8fafc;
    /* Crisp white-ish */
    --light-text: #cbd5e1;
    /* Zosvetlené zo #94a3b8 pre lepšiu čitateľnosť */

    /* Modern UI Elements */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(10, 186, 181, 0.4);
    --glow-color: rgba(10, 186, 181, 0.25);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Canvas Layout Config */
    --canvas-top-desktop: 70px;
    --canvas-height-desktop: 30vh;
    --canvas-gap-desktop: 1vh;

    --canvas-top-1024: 65px;
    --canvas-height-1024: 28vh;
    --canvas-gap-1024: 1vh;

    --canvas-top-768: 60px;
    --canvas-height-768: 25vh;
    --canvas-gap-768: 1vh;

    --canvas-top-480: 55px;
    --canvas-height-480: 20vh;
    --canvas-gap-480: 0.5vh;

    --logo-height-mobile: 60px;
    --header-height-mobile: 50px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    /* Zväčšené riadkovanie pre lepšiu čitateľnosť */
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
    /* Mierne väčšie písmo s využitím fluidnej typografie clamp() */
    letter-spacing: 0.015em;
    /* Jemný rozostup znakov proti únave očí */
    background-color: var(--background);
    /* Modern subtle background mesh */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(10, 186, 181, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.highlight {
    color: var(--primary-color);
}

/* ===== CUSTOM CURSOR - DISABLED ===== */
/* Custom cursor removed per user request */

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 33, 0.85);
    /* Darker glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 20px;
}

.logo {
    text-decoration: none;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    letter-spacing: 1px;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    /* Viac "tech" vzhľad */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(10, 186, 181, 0.6);
    /* Silná žiara */
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: rgba(11, 17, 33, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    text-transform: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--text-color) !important;
    transition: var(--transition);
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: rgba(10, 186, 181, 0.15);
    color: var(--primary-color) !important;
    text-shadow: none !important;
    padding-left: 25px !important;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    gap: 0.5rem;
}

.language-switcher a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--primary-color);
}

.language-switcher span {
    color: var(--light-text);
    font-weight: 300;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    background: linear-gradient(180deg, #0a0e1a 0%, #0b1121 50%, #0d1526 100%);
    color: var(--text-color);
    padding: 180px 2rem 130px 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Aurora Background Effect - Subtle Teal Only */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            transparent 0%,
            rgba(10, 186, 181, 0.03) 5%,
            rgba(10, 186, 181, 0.12) 10%,
            rgba(0, 120, 115, 0.05) 15%,
            transparent 20%);
    background-size: 200% 100%;
    filter: blur(40px);
    opacity: 0.5;
    mix-blend-mode: screen;
    animation: auroraCurtain 40s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
    transform-origin: top center;
}

/* Second aurora layer - Subtle teal accents */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(10, 186, 181, 0.08) 0%,
            rgba(0, 100, 95, 0.05) 50%,
            transparent 80%);
    filter: blur(60px);
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: auroraWave 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}

/* Hero glow - disabled for cleaner look */
.hero-glow {
    display: none;
}

@keyframes auroraCurtain {
    0% {
        transform: scaleY(1) skewX(-12deg) translateX(-15%);
        opacity: 0.3;
    }

    50% {
        transform: scaleY(1.3) skewX(8deg) translateX(0%);
        opacity: 0.8;
    }

    100% {
        transform: scaleY(1.1) skewX(-6deg) translateX(15%);
        opacity: 0.4;
    }
}

@keyframes auroraWave {
    0% {
        background-position: 0% 0%;
        transform: rotate(0deg);
    }

    100% {
        background-position: 100% 100%;
        transform: rotate(2deg);
    }
}

/* Hide fractal canvas - not needed anymore */
#fractalCanvas,
#heroFractalCanvas {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.5rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

/* Logo v hero sekcii */
.hero-logo {
    position: absolute;
    top: 80px;
    left: 2rem;
    transform: translateX(0);
    z-index: 10;
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.7));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(10, 186, 181, 0.2);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    max-width: fit-content;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 186, 181, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: rgba(10, 186, 181, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(10, 186, 181, 0.4);
    transform: translateY(-3px);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    color: #E87A00;
    /* Zmena farby na oranžovú */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    /* Ponecháme tyrkysové podčiarknutie */
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-background) 0%, var(--background) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--glow-color) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(10, 186, 181, 0.15);
    background: rgba(30, 41, 59, 0.8);
    border-color: transparent;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--glow-color));
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

/* Rozdielne farby pre rôzne ikony */
.service-card:nth-child(1) i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
}

.service-card:nth-child(2) i {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

.service-card:nth-child(3) i {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 5rem 2rem;
    background: var(--background);
}

.projects-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Hide projects beyond the first 8 by default, show all when .expanded is present */
.projects-grid:not(.expanded) .project-card:nth-child(n+9) {
    display: none;
}

/* Toggle arrow and expanded behaviors for projects */
#projects-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

#projects-toggle i {
    transition: transform 0.3s ease;
}

#projects-toggle.expanded i {
    transform: rotate(180deg);
}

.project-card {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--accent-purple) 25%,
            var(--accent-blue) 50%,
            var(--accent-pink) 75%,
            var(--accent-gold) 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease, height 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(10, 186, 181, 0.2);
    border-color: transparent;
    background: rgba(30, 41, 59, 0.8);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover::after {
    opacity: 1;
    height: 4px;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-card .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    align-self: flex-start;
}

.technologies {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.technologies span {
    background: var(--background);
    color: var(--light-text);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 50px;
    color: var(--light-text);
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill {
    background-color: var(--background);
    padding: 30px;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill h3 {
    margin-bottom: 10px;
}

.skill p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 5rem 2rem;
    background: transparent;
    position: relative;
}

.blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    /* Wider cards */
    gap: 2.5rem;
    padding: 2rem 0;
}

.blog-card {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(10, 186, 181, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(10, 186, 181, 0.15);
    border-color: transparent;
    background: rgba(30, 41, 59, 0.8);
}

.blog-card:hover::before,
.blog-card:hover::after {
    opacity: 1;
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-bottom: 1px solid var(--border-color);
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-color);
    font-weight: 700;
}

.blog-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blog-card .btn {
    align-self: flex-start;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.text-center {
    text-align: center;
}

/* ===== STORE SECTION ===== */
.store {
    padding: 5rem 2rem;
    background: var(--background);
}

.store-items-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.store-item {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.store-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.store-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(10, 186, 181, 0.2);
    border-color: transparent;
    background: rgba(30, 41, 59, 0.8);
}

.store-item:hover::before {
    opacity: 1;
}

.store-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.store-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.store-item p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.store-item .btn {
    margin-top: auto;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 2rem;
    background: var(--light-background);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-background);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    border-bottom: 2px solid var(--border-color);
    border-radius: 4px 4px 0 0;
    font-family: inherit;
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(10, 186, 181, 0.05);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 20px -10px rgba(10, 186, 181, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* ===== FOOTER ===== */
footer {
    background: #050a14;
    color: var(--light-text);
    padding: 2rem 2rem 1rem 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    /* Cyber grid pattern */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--glow-color) 0%, transparent 50%);
    opacity: 0.1;
    z-index: 0;
}

footer .footer-content {
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info .footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info p {
    margin-bottom: 0.75rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 20px;
    /* Fix width for icon alignment */
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--light-text);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* ===== EDQ THEORY SECTION ===== */
.edq-theory {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--background);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.edq-theory h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.edq-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.edq-content ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
    list-style-type: disc;
}

.edq-content li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--light-text);
}

.edq-theory .btn-container {
    margin-top: 2rem;
    text-align: center;
}

/* ===== ANIMATED DIVIDER ===== */
.animated-divider {
    height: 2px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--accent-purple) 25%,
            var(--accent-blue) 50%,
            var(--accent-pink) 75%,
            var(--accent-gold) 100%);
    background-size: 200% 100%;
    animation: gradientSlide 3s ease-in-out infinite;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(10, 186, 181, 0.4);
    position: relative;
    z-index: 10;
}

@keyframes gradientSlide {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}

/* ===== SCROLL ANIMATIONS (DISABLED) ===== */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered delay for grid items */
.services-grid .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.projects-grid .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.projects-grid .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.blog-grid .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.blog-grid .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .hero {
        padding: 150px 2rem 100px 2rem;
        /* Zväčšené */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        left: 2rem;
        transform: translateX(0);
        top: 65px;
    }

    .hero-logo img {
        height: 60px;
    }

    .hero .container {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .container {
        width: 95%;
        padding: 0 10px;
    }

    section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background);
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0.5rem;
        padding-left: 1rem;
        transform: none;
        width: 100%;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:active .dropdown-menu {
        display: flex;
        transform: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: 1rem;
    }

    .hero {
        padding: 100px 1rem 70px 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .services {
        padding: 3rem 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .projects {
        padding: 3rem 0.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .blog {
        padding: 3rem 0.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .blog-content {
        padding: 1.25rem;
    }

    .store {
        padding: 3rem 0.5rem;
    }

    .store-items-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact {
        padding: 3rem 0.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .hero-logo {
        left: 50%;
        transform: translateX(-50%);
        top: 65px;
    }

    .hero-logo img {
        height: 50px;
    }

    .hero .container {
        margin-top: 0;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 8px;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        padding: 90px 0.5rem 60px 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .nav-links {
        width: 80%;
    }

    .hero-logo {
        left: 50%;
        transform: translateX(-50%);
        top: 55px;
    }

    .hero-logo img {
        height: 40px;
    }

    .hero .container {
        margin-top: 0;
    }

    .hero-content {
        text-align: center;
        padding-left: 0;
    }

    .services,
    .projects,
    .blog,
    .store,
    .contact {
        padding: 2.5rem 0.25rem;
    }

    .service-card {
        padding: 1.25rem 0.75rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .blog-content h3 {
        font-size: 1.15rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===== STATS SECTION ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 186, 181, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(10, 186, 181, 0.2);
    border-color: var(--primary-color);
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-item>* {
    position: relative;
    z-index: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-weight: 500;
}

/* Animácie */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.service-card:hover {
    animation: pulse 2s infinite;
}