:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-highlight: rgba(255, 255, 255, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    
    --cyan: #00d2ff;
    --sky-blue: #3a7bd5;
    --navy-blue: #0f2027;
    --deep-navy: #02001c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--deep-navy);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Mesh Background Animations */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--deep-navy);
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 25s infinite ease-in-out alternate;
}

.shape-1 {
    top: -15%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: var(--sky-blue);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 65vw;
    height: 65vw;
    background: var(--cyan);
    animation-delay: -5s;
    opacity: 0.4;
}

.shape-3 {
    top: 40%;
    left: 60%;
    width: 45vw;
    height: 45vw;
    background: #00d2ff;
    animation-delay: -10s;
    opacity: 0.3;
}

.shape-4 {
    bottom: 20%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: #1a4f8b;
    animation-delay: -15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(6%, 12%) scale(1.15); }
    66% { transform: translate(-6%, -8%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Glassmorphism Utilities */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-logo {
    height: 70px; /* Zvětšené logo */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(255,255,255,0.2));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--cyan);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

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

/* Main Content Padding for Fixed Nav */
main {
    flex: 1;
    padding-top: 100px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem 6rem;
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4.5rem;
    max-width: 850px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.4), inset 0 0 0 1px var(--glass-highlight);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-25deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.glass-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.6);
}

.hero-logo {
    width: 280px;
    max-width: 100%;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3));
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 12px 35px rgba(0,210,255,0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3)); }
}

.headline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff, #80d0c7, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
    letter-spacing: -1px;
}

.subheadline {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
    border: 1px solid var(--cyan);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3), inset 0 0 15px rgba(0, 210, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cyan), #3a7bd5);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
    color: #fff;
    border-color: transparent;
}

.cta-button:hover::before {
    opacity: 1;
}

/* Nové sekce na hlavní stránce */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #80d0c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.2), inset 0 0 0 1px rgba(255,255,255,0.4);
    background: rgba(255, 255, 255, 0.08);
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--cyan);
}

.glass-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Styly pro podstránky */
.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card {
    position: relative;
    padding: 3rem;
}

.article-card .date {
    display: inline-block;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.article-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-card h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h2 a:hover {
    color: var(--cyan);
}

.read-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.contact-info {
    font-size: 1.2rem !important;
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--cyan);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link-text {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-text:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: var(--cyan);
    transform: translateX(10px);
}

.mt-2 {
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.7;
}

/* Footer */
.glass-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-socials {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-social-link:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.footer-bottom {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }
    
    .nav-logo {
        height: 45px; /* Menší na mobilech */
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(2, 0, 28, 0.98); /* deep navy with opacity */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 100;
        margin: 0;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .headline {
        font-size: 2.8rem;
    }
    
    .glass-container {
        padding: 3rem 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Styly pro detail článku */
.article-detail {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.article-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.15rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .article-detail {
        padding: 2.5rem 2rem;
    }
}
