/* Stránka Weby (CZ i EN) */
/* --- SPECIFICKÉ STYLY PRO WEB --- */
:root {
    --brand-orange: #e89547;
    --dark-bg: #0a0a0a;
    --light-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
}
body {
    background-color: var(--dark-bg);
    color: #fff;
}
/* --- 1. HERO S VIDEEM --- */
.web-hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
}
.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.web-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    animation: fadeUp 1s ease-out forwards;
}
.web-hero-kicker {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.web-hero h1 {
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.web-hero span.highlight { color: var(--brand-orange); }
.web-hero p {
    font-size: 1.2rem;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
/* --- 2. SVĚTLÁ SEKCE (UKÁZKY) --- */
.showcase-light {
    background-color: #ffffff;
    color: #111;
    padding: 100px 20px;
}
.web-intro {
    max-width: 900px;
    margin: 0 auto 90px auto;
    text-align: center;
}
.web-intro h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #111;
}
.web-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.web-intro strong { color: #111; }
.showcase-block {
    max-width: 1200px;
    margin: 0 auto 80px auto;
}
.showcase-block h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 300;
    letter-spacing: 1px;
    border-left: 3px solid #e89547;
    padding-left: 15px;
}
.video-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.video-pair video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    aspect-ratio: 16/9;
    object-fit: cover;
    background-color: #f2f2f2;
}
/* Fotky ve stejném páru jako videa (Development sekce) */
.video-pair a.photo-link {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    background-color: #f2f2f2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.video-pair a.photo-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.video-pair a.photo-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.video-pair a.photo-link:hover img { transform: scale(1.03); }
.photo-link-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 18px 14px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.photo-link-overlay i {
    color: var(--brand-orange);
    font-size: 12px;
}
/* --- 3. TMAVÁ SEKCE (BENTO GRID) --- */
.web-services {
    background-color: var(--dark-bg);
    padding: 100px 20px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.bento-container {
    max-width: 1400px;
    margin: 0 auto;
}
.bento-heading {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 50px;
    color: #fff;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.bento-item {
    aspect-ratio: 1 / 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}
.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-orange);
    background: rgba(255, 255, 255, 0.05);
}
.bento-icon {
    font-size: 3rem;
    color: var(--brand-orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.bento-item:hover .bento-icon { transform: scale(0.8) translateY(-10px); }
.bento-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}
.bento-content p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.bento-item:hover .bento-content p {
    max-height: 150px;
    opacity: 1;
    margin-top: 10px;
}
.ai-card {
    background: linear-gradient(145deg, rgba(232, 149, 71, 0.05) 0%, rgba(0,0,0,0) 100%);
    border: 1px solid rgba(232, 149, 71, 0.3);
}
/* --- 4. BÍLÁ SEKCE: OD KÓDU K REALITĚ --- */
.visual-showcase {
    padding: 120px 20px;
    background-color: #ffffff;
    color: #111;
    overflow: hidden;
    position: relative;
}
.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}
.showcase-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #000;
    font-weight: 500;
    text-transform: uppercase;
}
.showcase-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}
/* Grafika okna */
.showcase-graphic {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.glass-window {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}
.glass-window:hover { transform: rotateY(0deg) rotateX(0deg); }
.window-header {
    height: 40px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
    background: #222;
    border-radius: 12px 12px 0 0;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.window-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e89547;
}
.code-line {
    height: 10px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 10px;
    border-radius: 2px;
    width: 0;
    animation: typeLine 2s ease forwards infinite;
}
.code-line:nth-child(1) { width: 40%; animation-delay: 0s; }
.code-line:nth-child(2) { width: 70%; animation-delay: 0.2s; }
.code-line:nth-child(3) { width: 50%; animation-delay: 0.4s; }
.code-line:nth-child(4) { width: 80%; animation-delay: 0.6s; }
/* Ikonky okolo */
.floating-badge {
    position: absolute;
    padding: 12px 25px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 30px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    animation: floatBadge 5s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.floating-badge i { color: #e89547; }
.badge-1 { top: 20px; right: -30px; animation-delay: 0s; }
.badge-2 { bottom: 40px; left: -40px; animation-delay: 2s; }
.badge-3 { top: 50%; right: -60px; animation-delay: 1s; }
/* Patička: adresa */
.contact-detail { line-height: 1.6; font-style: normal; }
.contact-detail a:hover { color: #e89547; }
/* --- ANIMACE --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); } 50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); } 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); }
}
@keyframes floatBadge {
    0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); }
}
@keyframes typeLine {
    0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; }
}
/* --- RESPONSIVITA --- */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-container { grid-template-columns: 1fr; text-align: center; }
    .showcase-graphic { margin-top: 60px; }
    .video-pair { gap: 15px; }
}
@media (max-width: 768px) {
    .web-hero h1 { font-size: 3rem; }
    .web-hero-kicker { font-size: 0.75rem; letter-spacing: 3px; }
    .web-intro { margin-bottom: 60px; }
    .web-intro h2, .bento-heading { font-size: 1.9rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item { aspect-ratio: auto; min-height: 250px; }
    .bento-content p { max-height: 200px; opacity: 1; }
    .showcase-text h2 { font-size: 2.5rem; text-align: center; }
    .showcase-block h2 { text-align: center; border-left: none; font-size: 1.9rem; }
    .video-pair { grid-template-columns: 1fr; }
    /* ÚPRAVA PRO LEVITUJÍCÍ IKONKY NA MOBILU */
    .showcase-graphic { margin-bottom: 40px; }
    /* Místo pro ikonky */
    .floating-badge {
        display: flex !important; /* Vynutit zobrazení */
        padding: 8px 12px;
        font-size: 11px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    /* Pozicování blíže k oknu, aby nevylézaly */
    .badge-1 { top: -20px; right: 0; }
    .badge-2 { bottom: -20px; left: 0; }
    .badge-3 { top: auto; bottom: -20px; right: 0; }
}
