:root {
    --bg: #0a0a0a;
    --card-bg: #141414;
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --accent: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGACE --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo img { height: 30px; width: auto; }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links { display: flex; list-style: none; gap: 30px; }

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover { color: #fff; }

/* --- HERO SEKCE --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg, .hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(10,10,10,0.9) 100%);
    z-index: 2;
    pointer-events: none;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(10,10,10,0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.2;
    padding: 20px 0;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- DEMAND MODAL --- */
.demand-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.demand-modal-content {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    min-width: 320px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}
.demand-modal-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
}
.demand-modal-content input,
.demand-modal-content textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: none;
    margin-bottom: 12px;
    background: #222;
    color: #fff;
    font-size: 1rem;
    resize: none;
}
.demand-modal-content textarea {
    min-height: 90px;
    max-height: 200px;
}
.demand-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.demand-close:hover {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* --- OBECNÉ SEKCE --- */
.section { padding: 120px 10%; }

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* Dynamické zvětšení - mnohem viditelnější */
    font-weight: 700;                     /* Trochu tučnější pro důraz */
    text-transform: uppercase;
    letter-spacing: 4px;                  /* Menší mezery mezi písmeny než předtím, aby to drželo u sebe */
    text-align: center;
    margin-bottom: 60px;                  /* Trochu méně místa pod nadpisem */
    color: var(--text);                   /* Plná bílá, ne ta šedivá */
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;                          /* Krátká stylová linka */
    height: 2px;
    background: var(--text-dim);          /* Decentní šedá linka */
    opacity: 0.3;
}
/* --- SLUŽBY --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (min-width: 769px) {
    .services-grid {
        gap: clamp(24px, 2.5vw, 40px);
    }
}

.service-card {
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .service-card {
        opacity: 1;
        transform: none;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover { 
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-12px) scale(1.05);
    z-index: 2;
    box-shadow: 0 25px 50px rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.9), rgba(20, 20, 20, 0.9));
}

/* Silnější zoom jen na mobilu (jeden sloupec — nesousedí s další dlaždicí) */
@media (max-width: 768px) {
    .service-card:hover {
        transform: translateY(-10px) scale(1.08);
    }
}

.service-icon { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    color: var(--text);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.2) translateY(-5px);
}

/* --- CENÍK --- */
.price-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(20, 20, 20, 0.8));
}

.price-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-item {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.8));
    padding: 45px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.price-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.price-item:hover::before {
    opacity: 1;
}

.price-item:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.9), rgba(25, 25, 25, 0.9));
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05);
}

.price-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:hover .price-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: scale(1.15) rotateZ(5deg);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin: 10px 0 0 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.price-item:hover h3 {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.price-description {
    font-size: 0.9rem;
    color: var(--text-dim);
    position: relative;
    z-index: 2;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.price-item:hover .price-description {
    color: rgba(255, 255, 255, 0.7);
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 15px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.price-item:hover .price-value {
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.service-card h3 { 
    font-size: 1rem; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.service-card:hover h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.service-card p { 
    font-size: 0.85rem; 
    color: var(--text-dim);
    transition: color 0.4s ease;
}

.service-card:hover p {
    color: rgba(255,255,255,0.8);
}

.service-card::after {
    content: '→';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Mobil: služby „vyskočí“ při scrollu — zdůrazní, že jde o klikací karty */
@keyframes cardLiftReveal {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(0.97);
    }
    55% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tileLiftReveal {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PORTFOLIO --- */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    border-radius: 8px;
}

.portfolio-item.wide { grid-column: span 2; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-item:hover img { transform: scale(1.05); }

/* Play button pro videa */
.play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.portfolio-item:hover .play-button {
    background: #fff; color: #000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Zoom kurzor pro fotky */
.zoomable { cursor: zoom-in; }

/* --- O MNĚ --- */
.about-section { background: linear-gradient(135deg, rgba(20, 20, 20, 0.5), rgba(30, 30, 30, 0.5)); }

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    color: #ddd;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.about-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: linear-gradient(145deg, #222, #181818);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 5px 0;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #aaa;
}

.about-outro {
    font-size: 1.05rem;
    text-align: center;
    color: #ddd;
    line-height: 1.8;
    font-weight: 500;
}

.about-outro strong {
    color: #fff;
}

/* --- KONTAKT --- */
.contact-section { text-align: center; }

.contact-email {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin: 40px 0;
    transition: 0.3s;
}

.contact-email:hover { opacity: 0.7; }

.socials a { color: var(--text-dim); text-decoration: none; margin: 0 20px; font-size: 0.8rem; transition: 0.3s; }
.socials a:hover { color: #fff; }

footer { padding: 60px; text-align: center; font-size: 0.65rem; color: #333; letter-spacing: 2px; text-transform: uppercase; }

/* --- LIGHTBOX (Zvětšení fotek) --- */
.full-image-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.full-image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: zoomAnim 0.3s ease forwards;
}

@keyframes zoomAnim {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px; right: 40px;
    color: #fff; font-size: 40px;
    cursor: pointer;
}

/* --- RESPONZIVITA --- */
@media (max-width: 1000px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .price-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 80px 5%; }
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .portfolio-container { grid-template-columns: 1fr; }
    .portfolio-item.wide { grid-column: span 1; }
    .services-grid { grid-template-columns: 1fr; }
    .price-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .price-item {
        padding: 36px 24px;
        opacity: 0;
        transform: translateY(28px);
    }
    .price-item.tile-visible {
        animation: tileLiftReveal 0.65s cubic-bezier(0.33, 1, 0.68, 1) both;
    }
    .price-value {
        font-size: 1.55rem;
    }

    .service-card {
        opacity: 0;
        transform: translateY(32px);
        padding: 40px 25px;
        border: 2px solid rgba(255,255,255,0.15);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    .service-card.tile-visible {
        animation: cardLiftReveal 0.78s cubic-bezier(0.33, 1.15, 0.68, 1) both;
    }
    
    .service-card::after {
        font-size: 1.2rem;
        bottom: 15px;
        right: 20px;
        opacity: 0.6;
        animation: arrowPulse 2s ease-in-out infinite;
    }
    
    @keyframes arrowPulse {
        0%, 100% {
            opacity: 0.5;
            transform: translateX(0);
        }
        50% {
            opacity: 1;
            transform: translateX(5px);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .service-card,
        .price-item {
            opacity: 1 !important;
            transform: none !important;
        }
        .service-card.tile-visible,
        .price-item.tile-visible {
            animation: none !important;
        }
    }
}

/* --- PODSTRÁNKY SLUŽEB (Detailní pohled) --- */

.service-hero {
    height: 70vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-top: 20px;
    max-width: 600px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
}

.info-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-list i {
    color: #fff;
}

.cta-section {
    background: var(--card-bg);
    text-align: center;
    border-radius: 12px;
    margin: 40px 10%;
    padding: 60px 20px;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

/* DETAIL SLUŽBY - MODERNÍ KARTY */
.detail-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.detail-intro h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-intro p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Jemný odlesk při hoveru */
.process-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}

.process-card:hover::before {
    left: 100%;
}

.process-icon {
    font-size: 2.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 10px;
}

.process-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobilní úprava */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .process-card {
        padding: 30px;
    }
}